Code example for DataInputStream

Methods: readFloat, readShort