int positionSync()

Synchronously gets the current byte position in the file.

Throws a FileSystemException if the operation fails.

Source

int positionSync();