msgpack

package
v5.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: BSD-3-Clause, BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(dst interface{}, src []byte) (err error)

func DecodeAll

func DecodeAll(data []byte, handle *codec.MsgpackHandle, out interface{}) error

Decode data into out, but make sure that all bytes in data are used.

func Encode

func Encode(src interface{}) (dst []byte, err error)

func EncodeCanonical

func EncodeCanonical(src interface{}) (dst []byte, err error)

func IsEncodedMsgpackArray

func IsEncodedMsgpackArray(data []byte) bool

func IsJSONObject

func IsJSONObject(data []byte) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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