read

fun read(buffer: AllowSharedBufferSource, options: FileSystemReadWriteOptions = definedExternally): UInt53(source)

The read() method of the ``js-nolint read(buffer, options) `` - buffer - : An ArrayBuffer or ArrayBufferView (such as a DataView) representing the buffer that the file content should be read into.

MDN Reference