Skip to main content

SECTION_ALIGNMENT

Constant SECTION_ALIGNMENT 

Source
pub const SECTION_ALIGNMENT: usize = 32;
Expand description

Alignment (in bytes) applied to every payload section. BigInt<4> (four u64 limbs) only needs 8-byte alignment for zero-copy &[F] casts via from_raw_parts; 32 is a conservative choice that comfortably covers it and matches the field element’s on-disk size.