Module

std/node/buffer.ts>Buffer#toString

Deno standard library
Go to Latest
method Buffer.prototype.toString
import { Buffer } from "https://dotland.deno.dev/std@0.110.0/node/buffer.ts";

Decodes buf to a string according to the specified character encoding in encoding. start and end may be passed to decode only a subset of buf.

Parameters

optional
encoding = [UNSUPPORTED]
optional
start = [UNSUPPORTED]
optional
end = [UNSUPPORTED]

Returns

string