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

Function tib

src/lib.rs:140–142  ·  view source on GitHub ↗

Converts a quantity of tebibytes to bytes.

(size: V)

Source from the content-addressed store, hash-verified

138
139/// Converts a quantity of tebibytes to bytes.
140pub fn tib<V: Into<u64>>(size: V) -> u64 {
141 size.into() * TIB
142}
143
144/// Converts a quantity of petabytes to bytes.
145pub fn pb<V: Into<u64>>(size: V) -> u64 {

Callers 1

test_displayFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_displayFunction · 0.68