Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CBOR ¶ added in v0.0.3
type CBOR[V any] struct { // contains filtered or unexported fields }
type LimitCodec ¶
type LimitCodec[V any] struct { Inner interface { Encode(V) ([]byte, error) Decode([]byte) (V, error) } MaxDecode int // bytes }
func (LimitCodec[V]) Decode ¶
func (c LimitCodec[V]) Decode(b []byte) (V, error)
func (LimitCodec[V]) Encode ¶
func (c LimitCodec[V]) Encode(v V) ([]byte, error)
type Protobuf ¶ added in v0.0.3
func NewProtobuf ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.