unlock abstract method

Future<RandomAccessFile> unlock(
  1. [int start = 0,
  2. int end = -1]
)

Unlocks the file or part of the file.

Unlocks the byte range from start to end of the file, with the byte at position end not included. If no arguments are specified, the full file is unlocked, If only start is specified the file is unlocked from byte position start to the end of the file.

NOTE file locking does have slight differences in behavior across platforms:

See lock for more details.

Implementation

Future<RandomAccessFile> unlock([int start = 0, int end = -1]);