Hyperlinkv0.8.0-beta.28

FileSystem

FileSystem.SeekModetypeeffect/FileSystem.ts:1288
SeekMode

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.
modelsFile
export type SeekMode = "start" | "current"
Referenced by 1 symbols