Versions in this module Expand all Collapse all v1 v1.0.0 Apr 1, 2024 Changes in this version + const HEADER_SIZE + const LTV_HEADER_SIZE + const TLV_HEADER_SIZE + func CheckCRC(src []byte, crc []byte) bool + func GetCrC(buff []byte) []byte + func IsComplete(src []byte, dst []byte) bool + func NewHTLVCRCDecoder() ziface.IDecoder + func NewLTV_Little_Decoder() ziface.IDecoder + func NewTLVDecoder() ziface.IDecoder + type HtlvCrcDecoder struct + Body []byte + Crc []byte + Data []byte + Funcode byte + Head byte + Length byte + func (hcd *HtlvCrcDecoder) GetLengthField() *ziface.LengthField + func (hcd *HtlvCrcDecoder) Intercept(chain ziface.IChain) ziface.IcResp + type LTV_Little_Decoder struct + Length uint32 + Tag uint32 + Value []byte + func (ltv *LTV_Little_Decoder) GetLengthField() *ziface.LengthField + func (ltv *LTV_Little_Decoder) Intercept(chain ziface.IChain) ziface.IcResp + type TLVDecoder struct + Length uint32 + Tag uint32 + Value []byte + func (tlv *TLVDecoder) GetLengthField() *ziface.LengthField + func (tlv *TLVDecoder) Intercept(chain ziface.IChain) ziface.IcResp