Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/streams/buffer.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.160.0/streams/buffer.ts";

Classes

A variable-sized buffer of bytes with read() and write() methods.

A TransformStream that will only read & enqueue size amount of bytes. This operation is chunk based and not BYOB based, and as such will read more than needed.

A TransformStream that will only read & enqueue size amount of chunks.