Function solana_rbpf::aligned_memory::is_memory_aligned

source ยท
pub fn is_memory_aligned(ptr: usize, align: usize) -> bool
Expand description

Returns true if ptr is aligned to align.