Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/bytes/mod.ts>BytesList#add

Deno standard library
Go to Latest
method BytesList.prototype.add
Deprecated
Deprecated

Use a plain array of Uint8Arrays instead. Adding into the array can be done with Array#push. If start or end parameters are used then use Uint8Array#subarray to slice the needed part without copying.

import { BytesList } from "https://deno.land/std@0.201.0/bytes/mod.ts";

Push bytes with given offset infos

Parameters

value: Uint8Array
optional
start = [UNSUPPORTED]
optional
end = [UNSUPPORTED]