class LibuvStreamWrap
extends HandleWrap
import { LibuvStreamWrap } from "https://deno.land/std@0.116.0/node/internal_binding/stream_wrap.ts";
Constructors
new
LibuvStreamWrap(provider: providerType, stream?: Deno.Reader & Deno.Writer & Deno.Closer)Methods
_onClose(): Promise<number>
readStart(): number
Start the reading of the stream.
readStop(): number
Stop the reading of the stream.
shutdown(req: ShutdownWrap<LibuvStreamWrap>): number
Shutdown the stream.
useUserBuffer(_userBuf: unknown): number
writeAsciiString(req: WriteWrap<LibuvStreamWrap>, data: string): number
Write an ASCII string to the stream.
writeBuffer(req: WriteWrap<LibuvStreamWrap>, data: Uint8Array): number
Write a buffer to the stream.
writeLatin1String(_req: WriteWrap<LibuvStreamWrap>, _data: string): number
Write an LATIN1 string to the stream.
writeUcs2String(_req: WriteWrap<LibuvStreamWrap>, _data: string): number
Write an UCS2 string to the stream.
writeUtf8String(req: WriteWrap<LibuvStreamWrap>, data: string): number
Write an UTF8 string to the stream.
writev(): number
Write multiple chunks at once.