Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void SetContext(ArithmeticSymbolContext)

Declaration

public void SetContext(
    ArithmeticSymbolContext context
)

Summary

Changes the symbol context. See Remarks.

Remarks

The context instance may be modified after it's been applied by ArithmeticCodingWriter.SetContext(ArithmeticSymbolContext) (or in the initial constructor call) with immediate effect. It is not necessary to call this method after modifying an already applied context. Symbol contexts may be changed arbitrarily between calls to ArithmeticCodingWriter.WriteSymbol(int), as long as the same changes are made during decoding between calls to ArithmeticCodingReader.ReadSymbol().