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