Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: ArithmeticCodingReaderStream(Stream, uint[])

Declaration

public ArithmeticCodingReaderStream(
    Stream inputStream,
    uint[] frequencies
)

Summary

Initialises an ArithmeticCodingReaderStream instance given an input stream and a set of byte frequencies.

Parameters

StreaminputStream The input stream from which the encoded data will be read.
uint[]frequencies The frequency of each byte occurring, plus the frequency of the end of stream symbol (written automatically when the stream is closed). Must be 257 elements long. The set of frequencies must be exactly the same as the one used when the data was written using ArithmeticCodingWriterStream.