readablestream

package
v2.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func NewReader

func NewReader(r safejs.Value) *Reader

func (*Reader) Close added in v2.1.0

func (r *Reader) Close() error

func (*Reader) Read

func (r *Reader) Read(p []byte) (int, error)

type Writer

type Writer struct {
	Value safejs.Value
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter() (*Writer, error)

func (*Writer) Close

func (rs *Writer) Close() error

func (*Writer) Context

func (rs *Writer) Context() context.Context

func (*Writer) Write

func (rs *Writer) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL