Documentation
¶
Index ¶
- type Frame
- func (p *Frame) FillByte(b byte) bool
- func (p *Frame) GetLength() int
- func (p *Frame) GetPayload() []byte
- func (p *Frame) GetType() MsgType
- func (p *Frame) SetCrc(crc []byte)
- func (p *Frame) SetFooter(footer []byte)
- func (p *Frame) SetHeader(header []byte)
- func (p *Frame) SetPayload(payload []byte)
- func (p *Frame) ToBytes() []byte
- func (p *Frame) Validate() bool
- type MsgType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frame ¶
type Frame struct {
// contains filtered or unexported fields
}
func CreateFrame ¶
func (*Frame) GetPayload ¶
func (*Frame) SetPayload ¶
Click to show internal directories.
Click to hide internal directories.