- decode
Decode a buffer under UTF-8, if possible. If the byte stream cannot be decoded
that way, the platfor
- parsePersonIdent
Parse a name line (e.g. author, committer, tagger) into a PersonIdent. When
passing in a value for n
- nextLF
Locate the first position after either the given character or LF. This method
stops on the first mat
- parseHexInt16
Parse 4 character base 16 (hex) formatted string to unsigned integer. The number
is read in network
- parseHexInt32
Parse 8 character base 16 (hex) formatted string to unsigned integer. The number
is read in network
- parseHexInt4
Parse a single hex digit to its numeric value (0-15).
- author
Locate the "author " header line data.
- commitMessage
Locate the position of the commit message body.
- committer
Locate the "committer " header line data.
- endOfFooterLineKey
Locate the end of a footer line key string. If the region at raw[ptr] matches
^[A-Za-z0-9-]+: (e.g.
- endOfParagraph
Locate the end of a paragraph. A paragraph is ended by two consecutive LF bytes
or CRLF pairs
- parseBase10
Parse a base 10 numeric from a sequence of ASCII digits into an int. Digit
sequences can begin with