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

std/io/bufio.ts>BufWriter#write

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method BufWriter.prototype.write
import { BufWriter } from "https://deno.land/std@0.35.0/io/bufio.ts";

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

Parameters

p: Uint8Array

Returns

Promise<number>