pubmoddefs;pubmodres_value;pubmodresources;pubmodstream;pubmodstring_pool;pubmodtable;pubmodtraits;pubmodxml_names;pubmodxmltree;#[cfg(feature ="derive")]pubmodmanifest;/// Align an offset to a certain boundary
////// # Arguments
////// * `pos` - position to align
/// * `alignment` - number of bytes to align the position to
////// # Returns
////// The next position which is aligned to the specified boundary
pubfnalign(pos:u64, alignment:u64)->u64{let remaning = pos % alignment;if remaning ==0{return pos;}
pos +(alignment - remaning)}