Skip to main content

Crate solana_zero_copy

Crate solana_zero_copy 

Source
Expand description

Solana zero-copy types.

This crate provides unaligned primitive wrappers for use in Solana zero-copy data structures.

Modules§

unaligned
Unaligned primitive wrapper types for zero-copy data structures. These wrappers preserve a stable byte layout for primitive values without introducing alignment requirements from the native integer types.

Macros§

impl_int_conversion
Simple macro for implementing conversion functions between unaligned integers and standard integers.