Module

std/io/mod.ts>Buffer#truncate

Deno standard library
Go to Latest