docs: public static <R> int writeUtf8Char(ByteAccessStrategy<R> strategy, R resource, long pos, int c) {
          if (c <= 0x007F) {
              strategy.putByte(resource, pos, (byte) c);
              return 1;
          } else if (c > 0x07FF) {
              strategy.putByte(resource, pos, (byte) (0xE0 | c >> 12 & 0x0F));
              strategy.putByte(resource, pos + 1, (byte) (0x80 | c >> 6 & 0x3F));
              strategy.putByte(resource, pos + 2, (byte) (0x80 | c & 0x3F));
              return 3;
          } else {
              strategy.putByte(resource, pos, (byte) (0xC0 | c >> 6 & 0x1F));
              strategy.putByte(resource, pos + 1, (byte) (0x80 | c & 0x3F));
              return 2;
          }
      }