Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Marshaller ¶ added in v0.8.0
type Marshaller struct {
// contains filtered or unexported fields
}
Marshaller marshals and unmarshals messages.
func NewMarshaller ¶ added in v0.8.0
func NewMarshaller(capacity uint64) Marshaller
NewMarshaller creates marshaller.
func (Marshaller) Marshal ¶ added in v0.8.0
func (m Marshaller) Marshal(msg any, buf []byte) (retID, retSize uint64, retErr error)
Marshal marshals message.
Click to show internal directories.
Click to hide internal directories.