Skip to main content

Module size

Module size 

Source
Expand description

size.rs: one grammar for every byte count tocat accepts.

Shared rather than per-crate because buffer-size in the config, size= on a pipe endpoint and bytes= on the limit plugin should not disagree about what 10M means. Suffixes are binary: k is 1024, not 1000, because the things being sized are buffers and transfers.

Structsยง

ByteSize
A byte count.
ParseSizeError