Declaration
public ArithmeticCodingWriter(
Stream stream,
uint[] frequencies
)
Summary
Initialises an
ArithmeticCodingWriter instance. See Remarks.
Parameters
Stream | stream |
The stream to which the encoded data will be written. |
uint[] | frequencies |
The frequency of each symbol occurring. When reading the data back using an ArithmeticCodingReader, the set of frequencies must be exactly the same. |
Remarks
The encoded data will not be complete until the writer is finalized using
ArithmeticCodingWriter.Finalize(bool).