Documentation

Index

Constants

View Source
const (
	EmptyString = 0x80
	EmptySlice  = 0xC0
)

Variables

This section is empty.

Functions

func Decode

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

func Encode

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

Types

type Code

type Code uint32
const (
	ErrUnknown Code = iota
	ErrNoInput
	ErrInvalid
)

func (Code) Error

func (c Code) Error() string

Source Files