macro_rules! n_zib_bytes {
    () => { ... };
    ($x:expr) => { ... };
    ($x:expr, $t:ty) => { ... };
}
Expand description

Convert n ZiB to bytes.

Examples

let result = byte_unit::n_zib_bytes!(4);

assert_eq!(4722366482869645213696, result);
let result = byte_unit::n_zib_bytes!(2.5, f64);

assert_eq!(2951479051793528258560, result);