convertClipData(data, from_binary, from_blosc_compression, to_binary, to_blosc_compression) str for Python 2, bytes for Python 3

Converts the given clip data from the given format into the specified format.

from_binary and from_blosc_compression specify the format of the given data.

to_binary and to_blosc_compression specify the format the data should be converted to.

The data passed into this function must be a bytes object in Python 3 and a str object in Python 2. Similarly, the data returned by this function is a bytes object in Python 3 and a str object in Python 2. See HOM binary data for more information.

Raises a hou.InvalidInput exception if from_binary = False and from_blosc_compression = True, or if to_binary = False and to_blosc_compression = True.

Raises a hou.OperationFailed exception if the given data is invalid.

hou.convertClipData