#struct #transmute #reinterpret #byte-slice

overlay

An Overlay trait for reinterpreting a slice of bytes as an arbitrary type

2 stable releases

1.0.1 May 30, 2024

#933 in Encoding


Used in overlay_macro

GPL-3.0-or-later

2KB

A trait for converting an arbitrary slice of bytes to a struct, intended for use with the #[overlay] macro from the overlay_macro crate.

No runtime deps