jsarray

package
v0.0.0-...-41cedfc Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: BSD-3-Clause Imports: 1 Imported by: 4

Documentation

Overview

Package jsarray provides functions to convert go slices into/from javascript Array types. This is not for TypedArray's, see package jsconv for that -- TypedArrays are an order of magnitude faster to convert to/from js.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float32ToGo

func Float32ToGo(array js.Value) []float32

func Float32ToJS

func Float32ToJS(values []float32) js.Value

func Float64ToGo

func Float64ToGo(array js.Value) []float64

func Float64ToJS

func Float64ToJS(values []float64) js.Value

func Int16ToGo

func Int16ToGo(array js.Value) []int16

func Int16ToJS

func Int16ToJS(values []int16) js.Value

func Int32ToGo

func Int32ToGo(array js.Value) []int32

func Int32ToJS

func Int32ToJS(values []int32) js.Value

func Int8ToGo

func Int8ToGo(array js.Value) []int8

func Int8ToJS

func Int8ToJS(values []int8) js.Value

func UInt16ToGo

func UInt16ToGo(array js.Value) []uint16

func UInt16ToJS

func UInt16ToJS(values []uint16) js.Value

func UInt32ToGo

func UInt32ToGo(array js.Value) []uint32

func UInt32ToJS

func UInt32ToJS(values []uint32) js.Value

func UInt8ToGo

func UInt8ToGo(array js.Value) []uint8

func UInt8ToJS

func UInt8ToJS(values []uint8) js.Value

Types

This section is empty.

Jump to

Keyboard shortcuts

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