Method: Tros::DataFile::Writer#sync
- Defined in:
- lib/tros/data_file.rb
#sync ⇒ Object
Return the current position as a value that may be passed to DataFileReader.seek(long). Forces the end of the current block, emitting a synchronization marker.
148 149 150 151 |
# File 'lib/tros/data_file.rb', line 148 def sync write_block writer.tell end |