Reads the rest of the stream.
Reads exactly the number of bytes requested from the stream. Throws an exception if it cannot be done. Returns the filled buffer.
Skip the specified number of bytes forward or backward.
Writes exactly the given buffer and no less. Throws an exception if it cannot be done.