class FlatKit::Position

The information about the position of a record in an IO stream

Generally this is going to be returned by a write_record method to return information about the record that was just written

Attributes

bytesize[R]
index[R]
offset[R]

Public Class Methods

new(index: nil, offset: nil, bytesize: nil) click to toggle source
# File lib/flat_kit/position.rb, line 13
def initialize(index: nil, offset: nil, bytesize: nil)
  @index    = index
  @offset   = offset
  @bytesize = bytesize
end