C# Class System.IO.Compression.RepairedMemoryStream

MemoryStream does not let you look at the length after it has been closed. Overridden here, storing the size when it is closed.
Inheritance: MemoryStream
Exibir arquivo Open project: garyjohnson/wpnest Class Usage Examples

Public Methods

Method Description
Close ( ) : void

Closes the stream, storing the length for later use.

RepairedMemoryStream ( int size )

Initializes a new instance of the RepairedMemoryStream class.

Method Details

Close() public method

Closes the stream, storing the length for later use.
public Close ( ) : void
return void

RepairedMemoryStream() public method

Initializes a new instance of the RepairedMemoryStream class.
public RepairedMemoryStream ( int size )
size int The initial size.