The read() method of the ReadableStreamBYOBReader interface is used to read data into a view on a user-supplied buffer from an associated readable byte stream.
The releaseLock() method of the ReadableStreamBYOBReader interface releases the reader's lock on the stream.
The
ReadableStreamBYOBReaderinterface of the Streams API defines a reader for a ReadableStream that supports zero-copy reading from an underlying byte source.MDN Reference