Skip to main content
Module

std/io/buffer.ts>Buffer#write

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

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

Parameters

p: Uint8Array

Returns

Promise<number>