def _rocUnFlatten(self, buff, template_dst):
    '\n        Converts serialized data back to roc template.\n        '
    roc_buffer_dst = roc.new_uint8_t_array((len(buff) + 1))
    roc.memmove(roc_buffer_dst, buff)
    roc.roc_unflatten(roc_buffer_dst, template_dst)
    roc.delete_uint8_t_array(roc_buffer_dst)
    return template_dst
Converts serialized data back to roc template.
def _rocUnFlatten(self, buff, template_dst):
    '\n        \n        '
    roc_buffer_dst = roc.new_uint8_t_array((len(buff) + 1))
    roc.memmove(roc_buffer_dst, buff)
    roc.roc_unflatten(roc_buffer_dst, template_dst)
    roc.delete_uint8_t_array(roc_buffer_dst)
    return template_dst