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
Afficher le fichier Open project: garyjohnson/wpnest Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

RepairedMemoryStream() public méthode

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