Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/std/io/bufio.ts>BufWriter#write

A modern runtime for JavaScript and TypeScript.
Go to Latest
method BufWriter.prototype.write
import { BufWriter } from "https://deno.land/x/deno@v0.22.0/std/io/bufio.ts";

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

Parameters

p: Uint8Array

Returns

Promise<number>