setPosition method

  1. @override
Future<RandomAccessFile> setPosition(
  1. int position
)
override

Sets the byte position in the file.

Returns a Future<RandomAccessFile> that completes with this random access file when the position has been set.

Implementation

@override
Future<RandomAccessFile> setPosition(int position) => randomAccessFile.setPosition(position);