Documentation
¶
Index ¶
- Constants
- type PulseParser
- func (parser *PulseParser) Marshal(spites *implantpb.Spites, magic uint32) ([]byte, error)
- func (parser *PulseParser) Parse(buf []byte) (*implantpb.Spites, error)
- func (parser *PulseParser) PeekHeader(conn *peek.Conn) (uint32, uint32, error)
- func (parser *PulseParser) ReadHeader(conn *peek.Conn) (uint32, uint32, error)
Constants ¶
View Source
const ( MsgStart = 0 MsgMagicStart = 1 MsgMagicEnd = 5 HeaderLength = 9 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PulseParser ¶
func NewPulseParser ¶
func NewPulseParser() *PulseParser
func (*PulseParser) PeekHeader ¶
func (*PulseParser) ReadHeader ¶
Click to show internal directories.
Click to hide internal directories.