FileHandle.from constructor

FileHandle.from(
  1. RandomAccessFile fp
)

Implementation

FileHandle.from(RandomAccessFile fp)
    : _position = 0,
      _path = "",
      super(AbstractFileOpenMode.read) {
  _file = fp;
  _length = fp.lengthSync();
}