/bytes_iter

Smol utility crate for reading u(8,16,32,64)s from any Iterator<Item=&u8>

Primary LanguageRustApache License 2.0Apache-2.0

bytes_iter

A smol utility crate for taking any Iterator<Item=&u8> and taking a mixture of the next u8, u16, u32 and u64s from it. Useful for parsing binary formats.

Example

Example

License

bytes-iter is dual licensed under:

Unless you explicitly state otherwise, any contribution submitted for inclusion in this work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without additional terms or conditions.