Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method LibuvStreamWrap.prototype.writeBuffer
import { LibuvStreamWrap } from "https://deno.land/std@0.123.0/node/internal_binding/stream_wrap.ts";

Write a buffer to the stream.

Parameters

A write request wrapper.

data: Uint8Array

The Uint8Array buffer to write to the stream.

Returns

number

An error status code.