Versions in this module Expand all Collapse all v1 v1.0.0 Mar 18, 2020 Changes in this version + type Builder func() Encoder + type Encoder interface + Decode func(data []byte) (interface{}, error) + Encode func(data interface{}) ([]byte, error) + type IntEncoder struct + func (IntEncoder) Decode(data []byte) (interface{}, error) + func (IntEncoder) Encode(v interface{}) ([]byte, error) + type JsonSerializer struct + func NewJsonSerDes() *JsonSerializer + func (s *JsonSerializer) Decode(byt []byte, v interface{}) error + func (s *JsonSerializer) Encode(data interface{}) ([]byte, error) + type StringEncoder struct + func (s StringEncoder) Decode(data []byte) (interface{}, error) + func (s StringEncoder) Encode(v interface{}) ([]byte, error)