positionSync method

  1. @override
int positionSync()
override

Synchronously gets the current byte position in the file.

Throws a FileSystemException if the operation fails.

Implementation

@override
int positionSync() {
  _assertIsOpen();
  return _position;
}