Skip to main content
Module

std/io/mod.ts>BufWriter#write

Deno standard library
Go to Latest
method BufWriter.prototype.write
import { BufWriter } from "https://deno.land/std@0.36.0/io/mod.ts";

Writes the contents of p into the buffer. Returns the number of bytes written.

Parameters

p: Uint8Array

Returns

Promise<number>