code: def write(self, offset: int) -> None:
      self._file.seek(0)
      self._file.write(str(offset))
      self._file.truncate()
      self._file.flush()
      self._last = offset
  
file_path: neptune-client/src/neptune/internal/utils/sync_offset_file.py
imports: from pathlib import Path
  from typing import Optional
label_desc: Use image node_id 2 for calling the SyncOffsetFile obj's underlying member method code with example usage: obj.write(offset) without return types