Skip to main content
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
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.204.0/bytes/bytes_list.ts";

Push bytes with given offset infos

Parameters

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