C# Class Keyczar.Util.NondestructiveBinaryReader

Reader that won't close the stream when disposed
Inheritance: System.IO.BinaryReader
Afficher le fichier Open project: jbtule/keyczar-dotnet Class Usage Examples

Méthodes publiques

Méthode Description
NondestructiveBinaryReader ( Stream input ) : System

Initializes a new instance of the NondestructiveBinaryReader class.

NondestructiveBinaryReader ( Stream input, Encoding encoding ) : System

Initializes a new instance of the NondestructiveBinaryReader class.

Peek ( ) : int

Peeks this positions byte.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the T:System.IO.BinaryReader class and optionally releases the managed resources.

Method Details

Dispose() protected méthode

Releases the unmanaged resources used by the T:System.IO.BinaryReader class and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

NondestructiveBinaryReader() public méthode

Initializes a new instance of the NondestructiveBinaryReader class.
public NondestructiveBinaryReader ( Stream input ) : System
input Stream The input.
Résultat System

NondestructiveBinaryReader() public méthode

Initializes a new instance of the NondestructiveBinaryReader class.
The stream does not support reading, the stream is null, or the stream is already closed. /// is null.
public NondestructiveBinaryReader ( Stream input, Encoding encoding ) : System
input Stream The supplied stream.
encoding System.Text.Encoding The character encoding.
Résultat System

Peek() public méthode

Peeks this positions byte.
public Peek ( ) : int
Résultat int