dcase_util.utils.get_byte_string

dcase_util.utils.get_byte_string(num_bytes, show_bytes=True)[source]

Output number of bytes according to locale and with IEC binary prefixes

Parameters
num_bytesint > 0 [scalar]

Bytes

show_bytesbool, optional

Show byte count Default value “True”

Returns
str

Human readable byte string