Documentation
¶
Index ¶
Constants ¶
View Source
const HEADER_SIZE = 5
Variables ¶
This section is empty.
Functions ¶
func NewHTLVCRCDecoder ¶ added in v1.1.3
Types ¶
type HtlvCrcData ¶
type HtlvCrcData struct {
Head byte //头码
Funcode byte //功能码
Length byte //数据长度
Body []byte //数据内容
Crc []byte //CRC校验
Data []byte //数据内容
}
func (*HtlvCrcData) GetLengthField ¶ added in v1.1.3
func (this *HtlvCrcData) GetLengthField() *ziface.LengthField
type HtlvCrcDecoder ¶
Click to show internal directories.
Click to hide internal directories.