Function plain::as_bytes [] [src]

pub fn as_bytes<S: ?Sized>(s: &S) -> &[u8] where
    S: Plain

Safely converts a reference to an immutable byte slice of appropriate length.

This function cannot fail.