compressionstream

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented        = errors.New("Browser not implemented CompressionStream")
	ErrNotACompressionStream = errors.New("Object is not a CommpressionStream")
)

Functions

func GetInterface

func GetInterface() js.Value

GetJSInterface Get the JS Fetch Interface If nil browser doesn't implement it

Types

type CompressionStream

type CompressionStream struct {
	baseobject.BaseObject
}

CompressionStream struct

func New

func New(format string) (CompressionStream, error)

func NewFromJSObject

func NewFromJSObject(obj js.Value) (CompressionStream, error)

func (CompressionStream) CompressionStream

func (c CompressionStream) CompressionStream() CompressionStream

func (CompressionStream) Readable

func (c CompressionStream) Readable() (stream.ReadableStream, error)

func (CompressionStream) Writable

func (c CompressionStream) Writable() (stream.WritableStream, error)

type CompressionStreamFrom

type CompressionStreamFrom interface {
	CompressionStream_() CompressionStream
}

Jump to

Keyboard shortcuts

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