package
0.0.0-20231006102203-95ef55a26bc6
Repository: https://github.com/jaremko/env-protocol-demo.git
Documentation: pkg.go.dev
# Functions
Decode is a convenience function for decoding COBS-encoded byte slice.
Encode is a convenience function for COBS encoding.
New creates and returns a new COBS encoder/decoder.
ReceivePacketFromC reads a packet from C over the named pipe.
SendPacketToC sends a packet to C over the named pipe.
No description provided by the author
# Constants
Maximum size of the data payload.
Path to the named pipe for receiving data from C.
Path to the named pipe for sending data to C.
# Variables
ErrCorrupt is an error indicating corrupted input during decoding.
# Interfaces
Encoder interface defines methods for encoding and decoding byte slices.