Skip to main content
Module

std/node/buffer.ts>Buffer#slice

Deno standard library
Go to Latest
method Buffer.prototype.slice
import { Buffer } from "https://deno.land/std@0.114.0/node/buffer.ts";

Returns a new Buffer that references the same memory as the original, but offset and cropped by the start and end indices.

Parameters

optional
begin = [UNSUPPORTED]
optional
end = [UNSUPPORTED]