Versions in this module Expand all Collapse all v0 v0.2.0 Mar 17, 2024 v0.1.0 Mar 1, 2024 Changes in this version + var ErrCannotEncode = errors.New("cannot encode") + func Decode(b []byte) any + func Encode(value any) []byte + func RegisterType(value any, typeId TypeId) + type TypeId uint16 + const TypeIdArray + const TypeIdBool + const TypeIdFloat32 + const TypeIdFloat64 + const TypeIdInt + const TypeIdInt16 + const TypeIdInt32 + const TypeIdInt64 + const TypeIdInt8 + const TypeIdMap + const TypeIdSlice + const TypeIdString + const TypeIdUint + const TypeIdUint16 + const TypeIdUint32 + const TypeIdUint64 + const TypeIdUint8 + const TypeIdUnknown