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

std/node/buffer.ts>Buffer.concat

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Buffer.concat
import { Buffer } from "https://deno.land/std@0.106.0/node/buffer.ts";

Returns a new Buffer which is the result of concatenating all the Buffer instances in the list together.

Parameters

list: Buffer[] | Uint8Array[]
optional
totalLength: number