bytes_to_int#
- streaming.base.util.bytes_to_int(bytes_str)[source]#
Convert human readable byte format to an integer.
- Parameters:
- Raises:
ValueError – Invalid byte suffix.
- Returns:
int – Integer value of bytes.
Convert human readable byte format to an integer.
ValueError – Invalid byte suffix.
int – Integer value of bytes.