class BinData::IO
def accumulate_big_endian_bits
def accumulate_big_endian_bits byte = @raw_io.read(1) raise EOFError, "End of file reached" if byte.nil? byte = byte.unpack('C').at(0) & 0xff @rval = (@rval << 8) | byte @rnbits += 8 end
def accumulate_big_endian_bits byte = @raw_io.read(1) raise EOFError, "End of file reached" if byte.nil? byte = byte.unpack('C').at(0) & 0xff @rval = (@rval << 8) | byte @rnbits += 8 end