Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsgpackSpec ¶
type MsgpackSpec[T any] struct { // contains filtered or unexported fields }
func Msgpack ¶
func Msgpack[T any]() *MsgpackSpec[T]
func (*MsgpackSpec[T]) Marshal ¶
func (m *MsgpackSpec[T]) Marshal(v T) ([]byte, error)
func (*MsgpackSpec[T]) Unmarshal ¶
func (m *MsgpackSpec[T]) Unmarshal(data []byte) (T, error)
Click to show internal directories.
Click to hide internal directories.