StaticdefaultReadonlylockedThe locked read-only property of the ReadableStream interface returns whether or not the readable stream is locked to a reader.
StaticcreateWhen outputting with console.log('%O', this) or at the node REPL,
see the current chunk structure.
Current depth.
Options for writing, generated by util.inpect.
Formatted string.
Write an arbitrarily-large amount of data to the writer. If this buffer is larger than chunkSize, it is appended directly -- see the copyBuffers option for what should happen in this case. If the buffer is less than the chunkSize + 8 bytes, the buffer is always copied, since it might be worth writing some more data into that same chunk later.
Bytes to write.
Override the copyBuffers option if specified.
This, for chaining.
The cancel() method of the ReadableStream interface returns a Promise that resolves when the stream is canceled.
Optionalreason: anyNo more data will be written. Flush everything that is pending.
This, for chaining.
Write an eight-byte integer.
Double.
Override stream's littleEndian option.
This, for chaining.
Usually, chunks will be only become available to be read after chunkSize bytes have been written. Flush forces whatever is currently queued into the readable stream.
This, for chaining.
The getReader() method of the ReadableStream interface creates a reader and locks the stream to it.
Optionaloptions: ReadableStreamGetReaderOptionsWrite a signed two-byte integer.
Signed short int.
Override stream's littleEndian option.
This, for chaining.
Write a signed four-byte integer.
Signed int.
Override stream's littleEndian option.
This, for chaining.
Write an eight-byte signed integer.
Signed long long.
Override stream's littleEndian option.
This, for chaining.
Write a signed byte.
Signed byte.
This, for chaining.
The pipeThrough() method of the ReadableStream interface provides a chainable way of piping the current stream through a transform stream or any other writable/readable pair.
Optionaloptions: StreamPipeOptionsThe pipeTo() method of the ReadableStream interface pipes the current ReadableStream to a given WritableStream and returns a Promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
Optionaloptions: StreamPipeOptionsDestructively read all bytes from the reader as a single buffer.
Bytes.
The tee() method of the two-element array containing the two resulting branches as new ReadableStream instances.
Write a two-byte unsigned integer.
Unsigned short int.
Override stream's littleEndian option.
This, for chaining.
Write a four-byte unsigned integer.
Unsigned int.
Override stream's littleEndian option.
This, for chaining.
Write an eight-byte unsigned integer.
Unsigned long long.
Override stream's littleEndian option.
This, for chaining.
Write a single unsigned byte.
Byte.
This, for chaining.
Encode the string as UTF8.
String. If there are unpaired surrogates, they will be switched to the replacement character.
This, for chaining.
Write bytes to a growing buffer. Intended for relatively-small final buffer sizes; everything is held in memory.