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.