Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: ArithmeticCodingWriter(Stream, ArithmeticSymbolContext)

Declaration

public ArithmeticCodingWriter(
    Stream stream,
    ArithmeticSymbolContext context
)

Summary

Initialises an ArithmeticCodingWriter instance. See Remarks.

Parameters

Streamstream The stream to which the encoded data will be written.
ArithmeticSymbolContextcontext The context used for determining the relative frequencies of encoded symbols. The caller may make changes to the context instance it passed in; such changes will take effect immediately. See also ArithmeticCodingWriter.SetContext(ArithmeticSymbolContext).

Remarks

The encoded data will not be complete until the writer is finalized using ArithmeticCodingWriter.Finalize(bool).