Function radius_rust::tools::timestamp_to_bytes
source · pub fn timestamp_to_bytes(timestamp: u32) -> Vec<u8>
Expand description
Converts timestamp (u32) into vector of bytes
Should be used for any Attribute of type date to ensure value is encoded correctly