2 releases
new 0.1.1 | Jan 26, 2025 |
---|---|
0.1.0 | Feb 26, 2024 |
#38 in #bounds
98 downloads per month
Used in 3 crates
4KB
60 lines
Miltr Utils
This is a small utility package to be used in the miltr implementations.
ATM it's only justification for existing is the ByteParsing
trait on top of
the bytes
crate.
I needed some safe wrappers around methods on bytes::BytesMut
to check for
out of bounds. An alternative may be the
try_buf
crate. Or, if bytes
itself
gains something along the lines of
try_get_* methods, that would be
suitable as well.
Dependencies
~180KB