rusticata-macros
Overview
Helper macros for Rusticata
This crate also contains the serialization support with nom-like syntax. It allows to create the equivalent of a parser combinator, but for serialization, using generators.
For example, the following code writes some integers to the s
slice:
let r = do_gen!;
See the documentation for more details and examples.
Documentation
Crate is documented, do running cargo doc
will crate the offline documentation.
Reference documentation can be found here
Features
Here are the current and planned features, with their status:
- byte-oriented: the basic type is
(&[u8],usize)
and generators will work as much as possible on byte array slices - bit-oriented: address a byte slice as a bit stream
License
This library is licensed under the GNU Lesser General Public License version 2.1, or (at your option) any later version.