docs: public static void writeAsciiString(AsciiString s, ByteBuffer buf) {
          short length=(short)(s != null? s.length() : -1);
          buf.putShort(length);
          if(s != null)
              buf.put(s.chars());
      }