Skip to main content
Module

x/netzo/deno.d.ts>Deno.Buffer#reset

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
method Deno.Buffer.prototype.reset
import { Deno } from "https://deno.land/x/netzo@v0.1.10/deno.d.ts";
const { Buffer } = Deno;

Resets the buffer to be empty, but it retains the underlying storage for use by future writes. .reset() is the same as .truncate(0).