Function elf2tab::util::as_byte_slice
source · pub unsafe fn as_byte_slice<T: Copy>(input: &T) -> &[u8] ⓘ
Expand description
Get a raw buffer for the memory of type T
.
Safety
This must only be used to write the object to the output file.