docs: public void writeStringLength(String value) {
      byte[] bytes = value.getBytes(StandardCharsets.UTF_8);
      int length = bytes.length;
      while (remaining() < length + 9) {
        grow();
      }
      writeLength(length);
      System.arraycopy(bytes, 0, buf, position, length);
      position += length;
    }