Attempts to fill an array with raw data from stream. Returns true if the array was filled, false otherwise
Reads big-endian integer, converts to native-endian and stores in value
Attempts to read count bytes from stream and stores them in memory pointing by buffer. Returns number of bytes actually read
Reads little-endian integer, converts to native-endian and stores in value
Returns true if there are any data to read. false means end of the stream.
A stream inteface that allows to read data from it. Reading any data implies position advance by corresponding number of bytes. Methods shouldn't throw on EOF, may throw on a more serious error