Method: OpenC3::BufferedFile#pos

Defined in:
lib/openc3/io/buffered_file.rb,
ext/openc3/ext/buffered_file/buffered_file.c

#posObject

Get the current file position



75
76
77
78
# File 'lib/openc3/io/buffered_file.rb', line 75

def pos
  parent_pos = super()
  return parent_pos - (@buffer.length - @buffer_index)
end