Returns the in-memory representation of an object.
fn as_bytes<T>(val: &T) -> &[u8]
The object whose representation is returned.