scantest

package
v0.0.0-...-8995d27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2025 License: MIT Imports: 2 Imported by: 0

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 InsertRandomPrefix

func InsertRandomPrefix(data string, except byte) ([]byte, int)

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

func TrimNMEA

func TrimNMEA(data string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL