torchsig.utils.file_handlers.hdf5.handle_bytes_as_string

torchsig.utils.file_handlers.hdf5.handle_bytes_as_string(bts)[source]

Converts bytes to string if needed.

Parameters:

bts – The value to potentially convert.

Returns:

The converted value.