Formats the given number of bytes into a human-readable format.
If 'bytes' is not a positive integer.
The number of bytes to format.
Optional
The number of decimal places to round the result to. Defaults to 2.
The formatted string representing the number of bytes.
Formats the given number of bytes into a human-readable format.
Throws
If 'bytes' is not a positive integer.