Versions in this module Expand all Collapse all v1 v1.0.1 Oct 14, 2022 v1.0.0 Jun 2, 2022 Changes in this version + func ByteDecode(bs []byte, obj interface{}, config ByteCodecConfig) error + func ByteEncode(m interface{}, config ByteCodecConfig) ([]byte, error) + func Bytes2IntFunc(bs []byte, config ByteCodecItemConfig) (int64, error) + func GetDecodeFunc(str string) func(bs []byte, config ByteCodecItemConfig) (int64, error) + func GetEncodeFunc(str string) func(v interface{}, config ByteCodecItemConfig) ([]byte, error) + func Int2BytesFunc(v interface{}, config ByteCodecItemConfig) ([]byte, error) + type ByteCodecConfig struct + DspVersion string + Items []ByteCodecItemConfig + Key string + StructName string + Total uint + type ByteCodecItemConfig struct + DecodeFunc string + Desc string + EncodeFunc string + Index uint + Name string + Size uint