jsutil

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package jsutil offers utility functions for GopherJS and Wasm.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayBufferToSlice

func ArrayBufferToSlice(value js.Value) []byte

func CopySliceToJS added in v1.11.0

func CopySliceToJS(dst js.Value, src interface{})

func Equal added in v1.10.2

func Equal(a, b js.Value) bool

func TemporaryUint8Array added in v1.11.0

func TemporaryUint8Array(byteLength int) js.Value

func Uint8ArrayToSlice

func Uint8ArrayToSlice(value js.Value) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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