C# 클래스 Keyczar.Util.NondestructiveBinaryReader

Reader that won't close the stream when disposed
상속: System.IO.BinaryReader
파일 보기 프로젝트 열기: jbtule/keyczar-dotnet 1 사용 예제들

공개 메소드들

메소드 설명
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