C# Класс Keyczar.Util.NondestructiveBinaryReader

Reader that won't close the stream when disposed
Наследование: System.IO.BinaryReader
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

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

Описание методов

Dispose() защищенный метод

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.
Результат void

NondestructiveBinaryReader() публичный метод

Initializes a new instance of the NondestructiveBinaryReader class.
public NondestructiveBinaryReader ( Stream input ) : System
input Stream The input.
Результат System

NondestructiveBinaryReader() публичный метод

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.
Результат System

Peek() публичный метод

Peeks this positions byte.
public Peek ( ) : int
Результат int