Skip to main content

opt_size_from_bytes_i32

Function opt_size_from_bytes_i32 

Source
pub fn opt_size_from_bytes_i32(raw: i32) -> Option<ByteSize>
Expand description

-1 becomes None; any other value is a byte count.