Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Marshaller ¶ added in v0.4.1
type Marshaller interface {
Messages() []any
ID(msg any) (uint64, error)
Size(msg any) (uint64, error)
Marshal(msg any, buf []byte) (uint64, uint64, error)
Unmarshal(id uint64, buf []byte) (any, uint64, error)
}
Marshaller is the interface implemented by marshallers.
Click to show internal directories.
Click to hide internal directories.