Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function fromList
import { fromList } from "https://deno.land/std@0.82.0/node/_stream/readable_internal.ts";

Pluck off n bytes from an array of buffers. Length is the combined lengths of all the buffers in the list. This function is designed to be inlinable, so please take care when making changes to the function body.

Parameters

n: number
state: ReadableState