Module git_packetline::decode[][src]

Expand description

Utilities to help decoding packet lines

Modules

Enums

The error used in the [decode][crate::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 a Stream.

Obtain a PacketLine from data after assuring data is small enough to fit.