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