bytes-cast-derive 0.1.1

Safely re-interpreting &[u8] bytes as custom structs without copying, for efficiently reading structured binary data. Procedural macro for compile-time soundness checking.
Documentation
1
2
3
4
5
6
# `bytes-cast-derive`

The `#[derive(BytesCast)]` procedural macro for the `bytes-cast` crate.
This statically checks the safety invariants required of custom structs.

This crate contains code derived from <https://github.com/Lokathor/bytemuck>.