ZRef<CGDataConsumerRef> ZStream_CGData::sConsumer(ZRef<ZStreamerW> iStreamer) { if (iStreamer) { iStreamer->Retain(); return sAdopt& ::CGDataConsumerCreate(iStreamer.Get(), &spCallbacks_W); } return null; }
ZRef<CGDataProviderRef> ZStream_CGData::sProvider(ZRef<ZStreamerR> iStreamer) { if (iStreamer) { iStreamer->Retain(); return sAdopt& ::CGDataProviderCreate(iStreamer.Get(), &spCallbacks_R); } return null; }
ZRef<CGDataProviderRef> ZStream_CGData::sProvider(ZRef<ZStreamerRPos> iStreamer) { if (iStreamer) { iStreamer->Retain(); return sAdopt& ::CGDataProviderCreateSequential(iStreamer.Get(), &spCallbacksSequential_RPos); } return null; }