MCPcopy Create free account
hub / github.com/bytesize-rs/bytesize / eib

Function eib

src/lib.rs:160–162  ·  view source on GitHub ↗

Converts a quantity of exbibytes to bytes.

(size: V)

Source from the content-addressed store, hash-verified

158
159/// Converts a quantity of exbibytes to bytes.
160pub fn eib<V: Into<u64>>(size: V) -> u64 {
161 size.into() * EIB
162}
163
164/// Byte size representation.
165#[derive(Copy, Clone, PartialEq, PartialOrd, Eq, Ord, Hash, Default)]

Callers 1

test_displayFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_displayFunction · 0.68