fun loadFromProto(byteArray: ByteArray): ZKo(source)

Decodes a ByteArray into a ZKo object.

This function parses the given byte array, extracts the header, objects, hierarchy, and actions, and reconstructs the root ZObject hierarchy.

Return

A ZKo instance reconstructed from the provided data.

Parameters

byteArray

The byte array containing the serialized ZKo data.