Versions in this module Expand all Collapse all v1 v1.1.3 Aug 17, 2022 Changes in this version + var StdEncoding = NewEncoding(encodeStd) + func AppendInt(dst []byte, num int64) []byte + func AppendUint(dst []byte, num uint64) []byte + func Decode(src []byte) ([]byte, error) + func DecodeString(src string) ([]byte, error) + func DecodeToBuf(dst []byte, src []byte) ([]byte, error) + func Encode(src []byte) []byte + func EncodeToBuf(dst []byte, src []byte) []byte + func EncodeToString(src []byte) string + func FormatInt(num int64) []byte + func FormatUint(num uint64) []byte + func ParseInt(src []byte) (int64, error) + func ParseUint(src []byte) (uint64, error) + type CorruptInputError int64 + func (e CorruptInputError) Error() string + type Encoding struct + func NewEncoding(encoder string) *Encoding + func (enc *Encoding) AppendInt(dst []byte, num int64) []byte + func (enc *Encoding) AppendUint(dst []byte, num uint64) []byte + func (enc *Encoding) Decode(src []byte) ([]byte, error) + func (enc *Encoding) DecodeString(src string) ([]byte, error) + func (enc *Encoding) DecodeToBuf(dst []byte, src []byte) ([]byte, error) + func (enc *Encoding) Encode(src []byte) []byte + func (enc *Encoding) EncodeToBuf(dst []byte, src []byte) []byte + func (enc *Encoding) EncodeToString(src []byte) string + func (enc *Encoding) FormatInt(num int64) []byte + func (enc *Encoding) FormatUint(num uint64) []byte + func (enc *Encoding) ParseInt(src []byte) (int64, error) + func (enc *Encoding) ParseUint(src []byte) (uint64, error)