The number of essence containers is equal to the number of entries in the EssenceDataObjects array in the ContentStorage set. Each of these entries will be a reference to an EssenceContainerData set specifying the BodySID of the container (zero if the container is external).
If you are using the BodyReader class you will get callbacks to the handlers registered via MakeGCReader() for each BodySID. The normal way to use this would be to simply read the whole file and handle each stream as it produces data. If you want to go to a specific stream you can use the Seek(BodySID, Pos) method of BodyReader - where Pos is the offset with in that essence container, i.e. zero gives the first byte of that container
how do i access the ContentStorage set? also in the call back handler of the BodyReader::ReadFromFile() 'bool HandleData(GCReaderPtr Caller, KLVObjectPtr Object)' the KLVObject Data set is always empty, how do retrieve the Stream Data?
Users browsing this forum: No registered users and 7 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum