read method

@AvailableInWorkers("dedicated")

The read() method of the FileSystemSyncAccessHandle interface reads the content of the file associated with the handle into a specified buffer, optionally at a given offset.

Implementation

external int read(
  AllowSharedBufferSource buffer, [
  FileSystemReadWriteOptions options,
]);