Consumes bytes.length bytes of the stream and determines if the contents match up.
True iff the consumed bytes equal the passed array.
Throws an exception if reading from the stream fails.
See Implementation
Consumes bytes.length bytes of the stream and determines if the contents match up.