Module

std/io/buffer.ts>Buffer#write

Deno standard library
Go to Latest
method Buffer.prototype.write
import { Buffer } from "https://dotland.deno.dev/std@0.119.0/io/buffer.ts";

NOTE: This methods writes bytes synchronously; it's provided for compatibility with Writer interface.

Parameters

p: Uint8Array

Returns

Promise<number>