docs: public static void writeAsciiString(AsciiString s, DataOutput out) throws IOException {
          short length=(short)(s != null? s.length() : -1);
          out.writeShort(length);
          if(s != null)
              out.write(s.chars());
      }