Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
func Decode[T any](bts SerializedData) (*T, error)
Decode decodes the given serialized data into the given value.
func DecodeInto ¶
func DecodeSlice ¶
func EncodeSlice ¶
Types ¶
type SerializedData ¶
type SerializedData = []byte
func Encode ¶
func Encode(val any) (SerializedData, error)
Encode encodes the given value into a serialized data format.
Click to show internal directories.
Click to hide internal directories.