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

x/denoexec/deps.ts>io.Buffer#write

A higher level wrapper around https://doc.deno.land/builtin/stable#Deno.run
Latest
method io.Buffer.prototype.write
Re-export
import { io } from "https://deno.land/x/denoexec@v1.1.5/deps.ts";
const { Buffer } = io;

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

Parameters

p: Uint8Array

Returns

Promise<number>