Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void Finalize(bool)

Declaration

public void Finalize(
    bool closeStream = false
)

Summary

Finalizes the stream by flushing any remaining buffered data and writing the synchronization padding required by the reader. This call is mandatory; the stream will not be readable in full if this method is not called. This method does not write enough information to the stream for the reader to detect that there are no further symbols; see Remarks on ArithmeticCodingWriter for further info.

Parameters

boolcloseStream Specifies whether the output stream should be closed. Optional; defaults to false.