Method: Ariblib::BitStream#str

Defined in:
lib/ariblib/BitStream.rb

#str(byte) ⇒ Object



12
13
14
15
16
# File 'lib/ariblib/BitStream.rb', line 12

def str(byte)
    ret=@bitstream_buffer.byteslice(@bitstream_postion/8,byte)
    @bitstream_postion+=byte*8
    ret
end