Crate miltr_utils

Source
Expand description

§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.

Macros§

debug
trace

Traits§

ByteParsing
Safe extensions to methods from bytes::BytesMut.