SeekModeSpecifies the reference point for seeking within an open file.
When to use
Use with File handles when positioning the cursor before a read or write
and the offset must be interpreted from either the start of the file or the
current cursor.
Details
"start"seeks from the beginning of the file."current"seeks from the current cursor position.
modelsFile
Source effect/FileSystem.ts:12881 lines
export type type SeekMode = "start" | "current"Specifies the reference point for seeking within an open file.
When to use
Use with File handles when positioning the cursor before a read or write
and the offset must be interpreted from either the start of the file or the
current cursor.
Details
"start" seeks from the beginning of the file.
"current" seeks from the current cursor position.
SeekMode = "start" | "current"Referenced by 1 symbols