Code example for DataInputStream

Methods: readBoolean, readInt