1
2
3
4
5
6
7
//! Data size constants.

/// The size of a kilobyte in bytes.
pub const BYTES_PER_KB: usize = 1024;

/// The size of a megabyte in bytes.
pub const BYTES_PER_MB: usize = BYTES_PER_KB * BYTES_PER_KB;