BinaryRead

BinaryRead[stream]
reads one byte from the stream as an integer from 0 to 255.
BinaryRead[streamtype]
reads one object of specified type from the stream.
BinaryRead[stream, {type1type2, ...}]
reads a sequence of objects of specified types.