[][src]Crate big_bytes

Helps represent bytes with the largest possible mutliple of the byte unit.

Example

use big_bytes::BigByte;

let bytes = 2.456 * 1024_f32.powi(3);

assert_eq!("2.46 GiB", bytes.big_byte(2));

Constants

AVAILABLE_UNIT_SIZES

Available multiples of the byte unit.

Traits

BigByte

Makes a type representable as a byte count.