Skip to main content

bytes

Function bytes 

Source
pub fn bytes(s: &str) -> Result<usize, String>
Expand description

4MiB, 512k, 1048576. Binary units, because every other size in this system — page, block, mmap — is binary and a MB that meant 10^6 next to a block size that meant 2^20 would be a trap.