Example #1
0
        private void DecodeFooter(TGADecodeContext dc)
        {
            if (dc.Stage < TGADecodeStage.HeaderDecoded)
            {
                this.DecodeHeader();
            }

            dc.Stage = TGADecodeStage.FooterDecoded;
        }
Example #2
0
 /// <summary>
 /// Initializes the decoding context.
 /// </summary>
 internal void InitContext()
 {
     this.context       = new TGADecodeContext(this.Bitstream);
     this.context.Stage = TGADecodeStage.Initialized;
 }
Example #3
0
        private void DecodeFooter(TGADecodeContext dc)
        {
            if (dc.Stage < TGADecodeStage.HeaderDecoded)
                this.DecodeHeader();

            dc.Stage = TGADecodeStage.FooterDecoded;
        }
Example #4
0
 /// <summary>
 /// Initializes the decoding context.
 /// </summary>
 internal void InitContext()
 {
     this.context = new TGADecodeContext(this.Bitstream);
     this.context.Stage = TGADecodeStage.Initialized;
 }