vme

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolType

func BoolType() reflect.Type

func BytesType

func BytesType() reflect.Type

func Decode

func Decode(data []byte, outPtr interface{}) error

func DecodeToJson

func DecodeToJson(data []byte, valueType reflect.Type, compact bool) ([]byte, error)

func DecodeWithType

func DecodeWithType(data []byte, valueType reflect.Type) (interface{}, error)

func Encode

func Encode(value interface{}) ([]byte, error)

func EncodeFromJson

func EncodeFromJson(jsonBytes []byte, valueType reflect.Type) ([]byte, error)

func Float32Type

func Float32Type() reflect.Type

func Float64Type

func Float64Type() reflect.Type

func Int16Type

func Int16Type() reflect.Type

func Int32Type

func Int32Type() reflect.Type

func Int64Type

func Int64Type() reflect.Type

func Int8Type

func Int8Type() reflect.Type

func IntType

func IntType() reflect.Type

func NewStructBuilder

func NewStructBuilder() *structBuilder

func StringType

func StringType() reflect.Type

func StructOf

func StructOf(fieldTypes ...reflect.Type) reflect.Type

func StructValue

func StructValue(fieldValues ...interface{}) interface{}

func Uint16Type

func Uint16Type() reflect.Type

func Uint32Type

func Uint32Type() reflect.Type

func Uint64Type

func Uint64Type() reflect.Type

func Uint8Type

func Uint8Type() reflect.Type

func UintType

func UintType() reflect.Type

Types

This section is empty.

Jump to

Keyboard shortcuts

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