Macro byte_unit::n_pb_bytes [−][src]
macro_rules! n_pb_bytes { () => { ... }; ( $x:expr ) => { ... }; ( $x:expr, $t:ty ) => { ... }; }
Convert n PB to bytes.
Examples
#[macro_use] extern crate byte_unit; let result = n_pb_bytes!(4); assert_eq!(result, 4000000000000000u128);