Function plain::as_bytes

source ·
pub unsafe fn as_bytes<S>(s: &S) -> &[u8]where
    S: ?Sized,
Expand description

Interpret data as bytes. Not safe for data with padding.