Method: Bychar::ReaderStrbuf#initialize

Defined in:
lib/impls/reader_strbuf.rb

#initialize(with_io) ⇒ ReaderStrbuf

:nodoc: :all



6
7
8
9
10
11
12
# File 'lib/impls/reader_strbuf.rb', line 6

def initialize(with_io)
  @io = with_io
  @pos_in_buf = 1
  @maximum_pos = 0
  @buf = ''
  @oneeight = RUBY_VERSION < "1.9"
end