ZenFS
    Preparing search index...

    Function readSync

    Read data from the file specified by fd.

    The buffer that the data will be written to.

    The offset within the buffer where writing will start.

    An integer specifying the number of bytes to read.

    An integer specifying where to begin reading from in the file. If position is null, data will be read from the current file position.

    • Parameters

      • this: V_Context
      • fd: number
      • buffer: ArrayBufferView
      • Optionaloptions: ReadSyncOptions

      Returns number

    • Parameters

      • this: V_Context
      • fd: number
      • buffer: ArrayBufferView
      • offset: number
      • length: number
      • Optionalposition: null | ReadPosition

      Returns number