Module

std/streams/mod.ts>Buffer#truncate

Deno standard library
Go to Latest