Function radius_rust::tools::integer_to_bytes[][src]

pub fn integer_to_bytes(integer: u32) -> Vec<u8>

Converts u32 into vector of bytes

Should be used for any Attribute of type integer to ensure value is encoded correctly