Пример #1
0
        protected override void DoDecompress()
        {
            // We can prepare the content synchronously because we're either running
            // in a separate thread (async) or supposed to be performing the operation
            // synchronously in any case.
            SIContentE32Image content = E32ImageContent;

            content.PrepareContent(TSynchronicity.ESynchronous);
        }
Пример #2
0
        internal SymbianImageE32(string aImageName, uint aImageContentSize, long aImageContentOffset, SIStream aStream, ITracer aTracer)
            : base(aTracer, aStream, aImageName)
        {
            iContentOffsetWithinDataStream = aImageContentOffset;
            //
            using (SymbianStreamReaderLE reader = base.Stream.CreateReader())
            {
                reader.Seek(iContentOffsetWithinDataStream);
                iHeader = new SIHeaderE32Image(this, reader);
            }

            // Since we are a single e32 image, we have a single e32 Image file descriptor
            SIContentE32Image file = new SIContentE32Image(this, aImageName, aImageContentSize, aImageContentOffset);

            base.RegisterFile(file);
        }