Function radius_rust::tools::timestamp_to_bytes[][src]

pub fn timestamp_to_bytes(timestamp: u64) -> Vec<u8>

Converts timestamp (u64) into vector of bytes

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