The size in bytes.
Optionaloptions: { base?: 2 | 10; decimalPlaces?: number } = {}Optionalbase?: 2 | 10The base to use. In base 10 a kilobyte is 1000 bytes. In base 2 it is 1024 bytes.
OptionaldecimalPlaces?: numberThe number of decimal places to round to.
Format a file size to an appropriate order of magnitude.