public void writeUTFNoLength(String str) {
    if (ignoreWrites) {
      return;
    }
    checkIfWritable();
    try {
      if (ASCII_STRINGS) {
        writeAsciiUTF(str, false);
      } else {
        writeFullUTF(str, false);
      }
    } catch (UTFDataFormatException ex) {
      // this shouldn't happen since we did not encode the length
      throw new IllegalStateException(
          String.format("unexpected %s", ex));
    }
  }
Same as {@link #writeUTF} but it does not encode the length in the first two bytes and allows
strings longer than 65k to be encoded.
geode-serialization/src/main/java/org/apache/geode/internal/serialization/BufferDataOutputStream.java