loadCPIODataFromString(data)
→ tuple
of (str, str)
CPIO data format stores an ordered sequence of (name, value) pairs. The same name may occur multiple times. Is most commonly used to store hip files and contents sections inside assets. The other common file format used in Houdini is index file format.
The data
must be a bytes
object in Python 3 and a str
object in Python 2.
See HOM binary data for more information.
If the data is not in CPIO data format, this function returns an empty tuple.
The inverse of this function is hou.saveCPIODataToString().
See also |