Used to make a file size human readable. Takes the number of bytes or bits and converts it into a string indicating the number in the appropriate range (eg. KB, MB, etc.).

This function is valid in v2.5.0 to v2.12.0. This function has been downloaded 12 times.


{number} count
Number of bytes or bits to represent as a string.
{boolean=} opt_countInBits Optional, Default:false
Specifies whether count is given in bits instead of bytes.


A string indicating count with the appropriate measure (eg. kb, Mb, etc.).