Debian Codegraph @

msgpack.go

raw symbols SCIP
1 package utils
2
3 // MsgPackMarshal returns the MsgPack encoding of v.
4 type MsgPackMarshal func(v any) ([]byte, error)
5
6 // MsgPackUnmarshal parses the MsgPack-encoded data and stores the result
7 // in the value pointed to by v. If v is nil or not a pointer,
8 // Unmarshal returns an InvalidUnmarshalError.
9 type MsgPackUnmarshal func(data []byte, v any) error