@Contract(pure = true)
  public static byte set(byte value, byte mask, boolean setBit) {
    assertOneBitMask(mask);
    return (byte)(setBit ? value | mask : value & ~mask);
  }
@Contract(pure = true)
  public static byte set(byte value, byte mask, boolean setBit)