Function plain::is_aligned
source · pub fn is_aligned<T>(bytes: &[u8]) -> bool
Expand description
Check if a byte slice is aligned suitably for type T.
pub fn is_aligned<T>(bytes: &[u8]) -> bool
Check if a byte slice is aligned suitably for type T.