BurntSushi / rust-snappy

Snappy compression implemented in Rust (including the Snappy frame format).
BSD 3-Clause "New" or "Revised" License
445 stars 43 forks source link

[decompress::TagEntry::len]: documentation is wrong #31

Closed niklasad1 closed 4 years ago

niklasad1 commented 4 years ago

Hey, I found this https://github.com/BurntSushi/rust-snappy/blob/master/src/decompress.rs#L417-#L420, where the comment states that len is capped at 64 but the code does it by 255. Is the documentation or the code wrong?