converters

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float32ToByte

func Float32ToByte(f float32) (converted []byte, err error)

func Float32s

func Float32s(reply interface{}, err error) ([]float32, error)

Float32s is a helper that converts an array command reply to a []float32.

func Float32sBytes

func Float32sBytes(reply interface{}, dimension []int, err error) ([]float32, error)

Float32s is a helper that converts an array command reply to a []float32.

func Int16s

func Int16s(reply interface{}, err error) ([]int16, error)

Int16s is a helper that converts an array command reply to a []int16.

func Int8s

func Int8s(reply interface{}, err error) ([]int8, error)

Int8s is a helper that converts an array command reply to a []int8.

func Uint16s

func Uint16s(reply interface{}, err error) ([]uint16, error)

Uint16s is a helper that converts an array command reply to a []uint16.

func Uint8s

func Uint8s(reply interface{}, err error) ([]uint8, error)

Uint8s is a helper that converts an array command reply to a []uint8.

Types

This section is empty.

Jump to

Keyboard shortcuts

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