Zerocopy
Zerocopy makes zero-cost memory manipulation effortless
...Zerocopy introduces a suite of conversion traits such as TryFromBytes, FromBytes, IntoBytes, and FromZeros for defining how types can be safely constructed from or written to byte sequences. It also includes marker traits like KnownLayout, Immutable, and Unaligned to define type characteristics used in conversions. Complementing these traits are conversion macros that perform compile-time checks to ensure size and alignment safety, providing zero runtime overhead for unconditional casts.