encoding

package
v0.0.0-...-4d2ef29 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

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

func DecodeUint32

func DecodeUint32(buf []byte) uint32

func DecodeUint64

func DecodeUint64(buf []byte) uint64

func DecodeValue

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

func Encode

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

func EncodeUint32

func EncodeUint32(v uint32) []byte

func EncodeUint64

func EncodeUint64(v uint64) []byte

func EncodeValue

func EncodeValue(v interface{}) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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