class BinData::IO

def read_all_bytes

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