Method: OpenC3::BufferedFile#pos
- Defined in:
-
lib/openc3/io/buffered_file.rb,
ext/openc3/ext/buffered_file/buffered_file.c
Get the current file position
78 79 80 81 |
# File 'lib/openc3/io/buffered_file.rb', line 78 def pos parent_pos = super() return parent_pos - (@buffer.length - @buffer_index) end |