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
.
pub fn is_memory_aligned(ptr: usize, align: usize) -> bool
Returns true if ptr
is aligned to align
.