elf2tab

Module util

Source

Functions§

align_down
Takes a value and rounds it down to be aligned % box_size
align_to
Takes a value and rounds it up to be aligned % box_size
amount_alignment_needed
How much needs to be added to get a value aligned % 4
as_byte_slice
Get a raw buffer for the memory of type T.
do_pad