static [RigLogic](API\Plugins\RigLogicLib\riglogic\riglogic\RigLogic) * restore ( [BoundedIOStream](API\Plugins\RigLogicLib\trio\BoundedIOStream) * source, [MemoryResource](API\Plugins\RigLogicLib\pma\MemoryResource) * memRes )