static String readString ( final DataInput in ) throws IOException { final byte [ ] bytes = new byte [ readInt ( in ) ] ; in . readFully ( bytes ) ; return new String ( bytes , "UTF-8" ) ; }
Reads a string value from the given data input .