dbgtools_hexdump

Function asbuf

Source
pub fn asbuf<T: Sized>(buf: &T) -> &[u8] ⓘ
Expand description

Return a Sized object as a byte slice. 😬

Warning: Reading uninitialized memory is UB.