Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindPacket ¶
func FindPacket(pf gpsprot.PacketFormat, buf []byte) (startPos, endPos int, ok bool)
func IsValidPacketBetween ¶
func IsValidPacketBetween(pf gpsprot.PacketFormat, buf []byte, start, end int) bool
IsValidPacketBetween tests if a packet is valid when embedded in a larger buffer start and end are indices in buf where the packet data is located
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.