parsing/size_parse_utils library
Functions
-
formatBytesToHuman(
int bytes, {int decimals = 1}) → String -
Formats a byte count in
bytesinto a human-readable size string. -
parseSizeToBytes(
String input) → int? -
Parses a human-readable size string in
inputinto a byte count.