Module gix_packetline_blocking::decode
source · Expand description
Utilities to help decoding packet lines
Modules§
Enums§
- The error used in the
decode
module - The result of
hex_prefix()
indicating either a special packet line or the amount of wanted bytes - A utility return type to support incremental parsing of packet lines.
Functions§
- Decode an entire packet line from data or fail.
- Decode the
four_bytes
packet line prefix provided in hexadecimal form and check it for validity. - Decode
data
as packet line while reporting whether the data is complete or not using aStream
. - Obtain a
PacketLine
fromdata
after assuringdata
is small enough to fit.