Formats the given number of bytes in a human-readable, abbreviated format with a suffix (using B, KB, MB, GB, and
TB). Note this formats using the base 2 definition for the scale (1024 bytes per KB, etc.). This can be overridden by
setting a scaleSize value in the options.
Formats the given number of bytes in a human-readable, abbreviated format with a suffix (using B, KB, MB, GB, and TB). Note this formats using the base 2 definition for the scale (1024 bytes per KB, etc.). This can be overridden by setting a
scaleSizevalue in the options.