Versions in this module Expand all Collapse all v1 v1.5.1 Sep 14, 2024 v1.5.0 Sep 11, 2024 Changes in this version + var ErrNotAFloat32Array = errors.New("Object is not a Float32Array") + var ErrNotAFloat64Array = errors.New("Object is not a Float64Array") + var ErrNotAInt16Array = errors.New("Object is not a Int16Array") + var ErrNotAInt32Array = errors.New("Object is not a Int32Array") + var ErrNotAInt8Array = errors.New("Object is not a Int8Array") + var ErrNotAUint16Array = errors.New("Object is not a Uint16Array") + var ErrNotAUint32Array = errors.New("Object is not a Uint32Array") + var ErrNotAUint8Array = errors.New("Object is not a Uint8Array") + var ErrNotAUint8ClampedArray = errors.New("Object is not a Uint8ClampedArray") + var ErrNotImplementedFloat32Array = errors.New("Browser not implemented Float32Array") + var ErrNotImplementedFloat64Array = errors.New("Browser not implemented Float64Array") + var ErrNotImplementedInt16Array = errors.New("Browser not implemented Int16Array") + var ErrNotImplementedInt32Array = errors.New("Browser not implemented Int32Array") + var ErrNotImplementedInt8Array = errors.New("Browser not implemented Int8Array") + var ErrNotImplementedUint16Array = errors.New("Browser not implemented Uint16Array") + var ErrNotImplementedUint32Array = errors.New("Browser not implemented Uint32Array") + var ErrNotImplementedUint8Array = errors.New("Browser not implemented Uint8Array") + var ErrNotImplementedUint8ClampedArray = errors.New("Browser not implemented Uint8ClampedArray") + var Float32arrayinterface js.Value + var Float64arrayinterface js.Value + func GetFloat32ArrayInterface() js.Value + func GetFloat64ArrayInterface() js.Value + func GetInt16ArrayInterface() js.Value + func GetInt32ArrayInterface() js.Value + func GetInt8ArrayInterface() js.Value + func GetUint16ArrayInterface() js.Value + func GetUint32ArrayInterface() js.Value + func GetUint8ArrayInterface() js.Value + func GetUint8ClampedArrayInterface() js.Value + type Float32Array struct + func NewFloat32Array(value interface{}) (Float32Array, error) + func NewFloat32ArrayFrom(iterable interface{}) (Float32Array, error) + func NewFloat32ArrayOf(values ...interface{}) (Float32Array, error) + func NewFloat32FromJSObject(obj js.Value) (Float32Array, error) + func (u Float32Array) Float32Array_() Float32Array + type Float32ArrayFrom interface + Float32Array_ func() Float32Array + type Float64Array struct + func NewFloat64Array(value interface{}) (Float64Array, error) + func NewFloat64ArrayFrom(iterable interface{}) (Float64Array, error) + func NewFloat64ArrayOf(values ...interface{}) (Float64Array, error) + func NewFloat64FromJSObject(obj js.Value) (Float64Array, error) + func (u Float64Array) Float64Array_() Float64Array + type Float64ArrayFrom interface + Float64Array_ func() Float64Array + type Int16Array struct + func NewInt16Array(value interface{}) (Int16Array, error) + func NewInt16ArrayFrom(iterable interface{}) (Int16Array, error) + func NewInt16ArrayOf(values ...interface{}) (Int16Array, error) + func NewInt16FromJSObject(obj js.Value) (Int16Array, error) + func (u Int16Array) Int16Array_() Int16Array + type Int16ArrayFrom interface + Int16Array_ func() Int16Array + type Int32Array struct + func NewInt32Array(value interface{}) (Int32Array, error) + func NewInt32ArrayFrom(iterable interface{}) (Int32Array, error) + func NewInt32ArrayOf(values ...interface{}) (Int32Array, error) + func NewInt32FromJSObject(obj js.Value) (Int32Array, error) + func (u Int32Array) Int32Array_() Int32Array + type Int32ArrayFrom interface + Int32Array_ func() Int32Array + type Int8Array struct + func NewInt8Array(value interface{}) (Int8Array, error) + func NewInt8ArrayFrom(iterable interface{}) (Int8Array, error) + func NewInt8ArrayOf(values ...interface{}) (Int8Array, error) + func NewInt8FromJSObject(obj js.Value) (Int8Array, error) + func (a Int8Array) Int8Array_() Int8Array + type Int8ArrayFrom interface + Uint8Array_ func() Uint8Array + type TypedArray struct + func (t TypedArray) BYTES_PER_ELEMENT() (int, error) + func (t TypedArray) Buffer() (arraybuffer.ArrayBuffer, error) + func (t TypedArray) ByteLength() (int64, error) + func (t TypedArray) ByteOffset() (int64, error) + func (t TypedArray) Bytes() ([]byte, error) + func (t TypedArray) CopyBytes(buffer []byte) (int, error) + func (t TypedArray) CopyFromBytes(buffer []byte) (int, error) + func (t TypedArray) Subarray(opts ...int) (interface{}, error) + func (t TypedArray) TypedArray_() TypedArray + type TypedArrayFrom interface + TypedArray_ func() TypedArray + type Uint16Array struct + func NewUint16Array(value interface{}) (Uint16Array, error) + func NewUint16ArrayFrom(iterable interface{}) (Uint16Array, error) + func NewUint16ArrayOf(values ...interface{}) (Uint16Array, error) + func NewUint16FromJSObject(obj js.Value) (Uint16Array, error) + func (u Uint16Array) Uint16Array_() Uint16Array + type Uint16ArrayFrom interface + Uint16Array_ func() Uint16Array + type Uint32Array struct + func NewUint32Array(value interface{}) (Uint32Array, error) + func NewUint32ArrayFrom(iterable interface{}) (Uint32Array, error) + func NewUint32ArrayOf(values ...interface{}) (Uint32Array, error) + func NewUint32FromJSObject(obj js.Value) (Uint32Array, error) + func (u Uint32Array) Uint32Array_() Uint32Array + type Uint32ArrayFrom interface + Uint32Array_ func() Uint32Array + type Uint8Array struct + func NewUint8Array(value interface{}) (Uint8Array, error) + func NewUint8ArrayFrom(iterable interface{}) (Uint8Array, error) + func NewUint8ArrayOf(values ...interface{}) (Uint8Array, error) + func NewUint8FromJSObject(obj js.Value) (Uint8Array, error) + func (u Uint8Array) Uint8Array_() Uint8Array + type Uint8ArrayFrom interface + Uint8Array_ func() Uint8Array + type Uint8ClampedArray struct + func NewUint8ClampedArray(value interface{}) (Uint8ClampedArray, error) + func NewUint8ClampedArrayFrom(iterable interface{}) (Uint8ClampedArray, error) + func NewUint8ClampedArrayOf(values ...interface{}) (Uint8ClampedArray, error) + func NewUint8ClampedFromJSObject(obj js.Value) (Uint8ClampedArray, error) + func (u Uint8ClampedArray) Uint8ClampedArray_() Uint8ClampedArray + type Uint8ClampedArrayFrom interface + Uint8ClampedArray_ func() Uint8ClampedArray