Skip to main content
Go to Latest
method LibuvStreamWrap.prototype.writeBuffer
import { LibuvStreamWrap } from "https://deno.land/std@0.145.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.