Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/bytes/mod.ts>BytesList#slice

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method BytesList.prototype.slice
import { BytesList } from "https://deno.land/std@0.179.0/bytes/mod.ts";

Returns subset of bytes copied

Parameters

start: number
optional
end: number = [UNSUPPORTED]

Returns

Uint8Array