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›.
- 
        
        If ‹from_binary› is True, the given data is binary clip data otherwise it is plain text (ASCII) clip data.
- 
        
        If ‹from_blosc_compression› is True, the given data contains blosc compressed binary clip data. This cannot be used with ASCII clip data.
‹to_binary› and ‹to_blosc_compression› specify the format the data should be converted to.
- 
        
        If ‹to_binary› is True, convert to a binary clip data otherwise convert to ASCII clip data.
- 
        
        If ‹to_blosc_compression› is True, convert to blosc compressed binary clip data. This cannot be used with ASCII clip data.
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.