Class: IOP::IOSegmentReader

Inherits:
Object
  • Object
show all
Includes:
BufferingFeed
Defined in:
lib/iop/file.rb

Instance Attribute Summary

Attributes included from Feed

#downstream

Instance Method Summary collapse

Methods included from BufferingFeed

#process!, #read!

Methods included from Feed

#process, #process!, #|

Constructor Details

#initialize(io, block_size: DEFAULT_BLOCK_SIZE) ⇒ IOSegmentReader

Returns a new instance of IOSegmentReader.



197
198
199
200
# File 'lib/iop/file.rb', line 197

def initialize(io, block_size: DEFAULT_BLOCK_SIZE)
  @io = io
  @block_size = block_size
end