import * as mod from "https://deno.land/std@0.211.0/streams/mod.ts";
Utilities for working with the Streams API.
Includes buffering and conversion.
Classes
A variable-sized buffer of bytes with | |
A transform stream that only transforms from the zero-indexed | |
Divide a stream into chunks delimited by a given byte sequence. | |
A | |
A | |
Transform a stream into a stream where each chunk is divided by a given delimiter. | |
Transform a stream into a stream where each chunk is divided by a newline,
be it |
Functions
Copies from | |
Merge multiple streams into a single one, taking order into account, and each stream will wait for a chunk to enqueue before the next stream can append another chunk. If a stream ends before other ones, the others will be cancelled. | |
Turns a | |
Turns a | |
Merge multiple streams into a single one, not taking order into account. If a stream ends before other ones, the other will continue adding data, and the finished one will not add any more data. | |
Create a | |
Read | |
Synchronously reads | |
Create a | |
Create a | |
Converts a | |
Converts a | |
Converts a JSON-formatted | |
Converts a | |
Convert the generator function into a | |
Create a | |
Write all the content of the array buffer ( | |
Synchronously write all the content of the array buffer ( | |
Create a | |
Merge multiple streams into a single one, taking order into account, and each stream will wait for a chunk to enqueue before the next stream can append another chunk. If a stream ends before other ones, the others will continue adding data in order, and the finished one will not add any more data. |
Interfaces
An abstract interface which when implemented provides an interface to close files/resources that were previously opened. | |
Options for | |
Options for | |
An abstract interface which when implemented provides an interface to read bytes into an array buffer asynchronously. | |
An abstract interface which when implemented provides an interface to read bytes into an array buffer synchronously. | |
Options for | |
Options for | |
An abstract interface which when implemented provides an interface to write bytes from an array buffer to a file/resource asynchronously. | |
An abstract interface which when implemented provides an interface to write bytes from an array buffer to a file/resource synchronously. |
Type Aliases
Disposition of the delimiter for |