Code example for DataInputStream

Methods: readBool, readByte, readShort, readSlot