Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/buffer.ts>default#toString

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method default.prototype.toString
import { default } from "https://deno.land/std@0.74.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