inhabitedtype / angstrom

Parser combinators built for speed and memory efficiency
Other
637 stars 74 forks source link

Eliminate redundant length checks in int16, int32, and int64 parsers #173

Closed seliopou closed 5 years ago

seliopou commented 5 years ago

ensure already ensures that there are enough bytes so that further length checks are unnecessary.