# Functions
NewEncoder returns a new encoder that writes to w.
NewScanner returns a new Scanner to read from r.
# Constants
MaxPayloadSize is the maximum payload size of a pkt-line in bytes.
For compatibility with canonical Git implementation, accept longer pkt-lines.
# Variables
ErrInvalidPktLen is returned by Err() when an invalid pkt-len is found.
ErrPayloadTooLong is returned by the Encode methods when any of the provided payloads is bigger than MaxPayloadSize.
Flush is the payload to use with the Encode method to encode a flush-pkt.
FlushPkt are the contents of a flush-pkt pkt-line.
FlushString is the payload to use with the EncodeString method to encode a flush-pkt.