class BinData::IO::Read

def read_all_bytes

Reads all remaining bytes from the stream.
def read_all_bytes
  reset_read_bits
  read
end