public void printString(String v) throws IOException {
  printString(v,0,v.length());
}

public void printString ( String v ) throws IOException { printString ( v , 0 , v . length ( ) ) ; }
prints a string to the stream , encoded as utf - 8
