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

Function tb

src/lib.rs:135–137  ·  view source on GitHub ↗

Converts a quantity of terabytes to bytes.

(size: V)

Source from the content-addressed store, hash-verified

133
134/// Converts a quantity of terabytes to bytes.
135pub fn tb<V: Into<u64>>(size: V) -> u64 {
136 size.into() * TB
137}
138
139/// Converts a quantity of tebibytes to bytes.
140pub fn tib<V: Into<u64>>(size: V) -> u64 {

Callers 1

test_to_string_asFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_to_string_asFunction · 0.68