Documentation ¶
Index ¶
- Variables
- func CRC(schema string) uint32
- func FromBytes(data []byte) (loaded []byte, buffer []byte, err error)
- func Hash(key any) ([]byte, error)
- func Parse(v Serializable, data []byte, boxed bool, names ...string) (_ []byte, err error)
- func Register(typ any, tl string) uint32
- func Serialize(v Serializable, boxed bool) ([]byte, error)
- func ToBytes(buf []byte) []byte
- type Raw
- type Serializable
- type TL
Constants ¶
This section is empty.
Variables ¶
View Source
var BoolFalse = CRC("boolFalse = Bool")
View Source
var BoolTrue = CRC("boolTrue = Bool")
View Source
var Logger = func(a ...any) {}
Functions ¶
Types ¶
type Serializable ¶
type Serializable interface{}
Click to show internal directories.
Click to hide internal directories.