Module uucore::parse_size

source ·

Structs§

  • Parser for sizes in SI or IEC units (multiples of 1000 or 1024 bytes).

Enums§

Functions§

  • parse_sizeDeprecated
  • Same as parse_size_u128(), but for u64
  • Same as parse_size_u64(), except returns u64::MAX on overflow GNU lib/coreutils include similar functionality and GNU test suite checks this behavior for some utils
  • Parse a size string into a number of bytes using Default Parser (no custom settings)
  • Same as parse_size_u128(), except returns u128::MAX on overflow