public int writeString(String s) throws IOException {
    int length = s.length();
    int count = writeVInt(length);
    count += writeChars(s, 0, length);
    return count;
  }
public int writeString(String s) throws IOException {
    int length = s.length();
    int count = writeVInt(length);
    count += writeChars(s, 0, length);
    return count;
  }
public int writeString ( String s ) throws IOException { int length = s . length ( ) ; int count = writeVInt ( length ) ; count += writeChars ( s , 0 , length ) ; return count ; }
Writes a string.
(vlen) [char]
Writes a string . ( vlen ) [ char ]