package
3.2.0+incompatible
Repository: https://github.com/devsisters/go-git.git
Documentation: pkg.go.dev

# Functions

Encode encodes a byte slice to pkt-line format.
EncodeFromString encodes a string to pkt-line format.
NewDecoder returns a new Decoder.
NewEncoder returns a new Encoder.

# Constants

HeaderLength length of the pktline header.
MaxLength max line length.

# Variables

ErrInvalidHeader invalid pktline header.
ErrInvalidLen ivanlid line length found, < 0.
ErrOverflow is triggered when the line length exceed the MaxLength.
ErrUnderflow is triggered when a line is shorter than the described length.

# Structs

Decoder implements a pkt-line format decoder.
Encoder implements a pkt-line format encoder.