Waits for earlier operations; repeated closes are harmless.
Return the file's byte count asynchronously; return undefined on failure or if not open.
Replaces the current file; an I/O failure leaves the stream closed.
filenameRead asynchronously into data and advance the position; return the byte count, 0n at EOF, or undefined on failure or if not open.
dataSet the absolute byte position (0 to 2^53−1) in operation order and return the new position; return undefined if not open.
positionWait for earlier operations, then return the current byte position; return undefined if not open.
Seekable asynchronous file input that reads directly into caller buffers.