vis4d.data.io.util

Data I/O Utilities.

Functions

str_decode(str_bytes[, encoding])

Decode to string from bytes.

str_decode(str_bytes, encoding=None)[source]

Decode to string from bytes.

Parameters:
  • str_bytes (bytes) – Bytes to decode.

  • encoding (None | str) – Encoding to use. Defaults to None which is equivalent to sys.getdefaultencoding().

Returns:

Decoded string.

Return type:

str