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

Function pib

src/lib.rs:150–152  ·  view source on GitHub ↗

Converts a quantity of pebibytes to bytes.

(size: V)

Source from the content-addressed store, hash-verified

148
149/// Converts a quantity of pebibytes to bytes.
150pub fn pib<V: Into<u64>>(size: V) -> u64 {
151 size.into() * PIB
152}
153
154/// Converts a quantity of exabytes to bytes.
155pub fn eb<V: Into<u64>>(size: V) -> u64 {

Callers 1

test_displayFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_displayFunction · 0.68