Code example for DataInput

Methods: readFloat, readShort