Method: Overlook::BitBuffer#initialize
- Defined in:
- lib/overlook/bit_buffer.rb
#initialize(io) ⇒ BitBuffer
Returns a new instance of BitBuffer.
3 4 5 6 7 |
# File 'lib/overlook/bit_buffer.rb', line 3 def initialize(io) @io = io @buffer = 0 @available = 0 end |