Skip to main content
Module

std/node/buffer.ts>Buffer#toString

Deno standard library
Go to Latest
method Buffer.prototype.toString
import { Buffer } from "https://deno.land/std@0.114.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