public enum ParseResult
Result of parsing.
Parse failure caused by invalid format or missing data.
Parse failure caused by netstring length exceeding the specified maximum.
lengthis the declared length of the netstring. When this value is returned, the reader has read the prefix number and the colon after it.
case rejected(length: Int)