void setPositionSync(int position)

Synchronously sets the byte position in the file.

Throws a FileSystemException if the operation fails.

Source

void setPositionSync(int position);