C# 클래스 SilentOrbit.ProtocolBuffers.PositionStream

Wrapper for streams that does not support the Position property. Adds support for the Position property.
상속: Stream
파일 보기 프로젝트 열기: hultqvist/protobuf 1 사용 예제들

공개 메소드들

메소드 설명
Flush ( ) : void
PositionStream ( Stream baseStream ) : System

Define how many bytes are allowed to read

Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

PositionStream() 공개 메소드

Define how many bytes are allowed to read
public PositionStream ( Stream baseStream ) : System
baseStream Stream /// Base stream. ///
리턴 System

Read() 공개 메소드

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

ReadByte() 공개 메소드

public ReadByte ( ) : int
리턴 int

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SetLength() 공개 메소드

public SetLength ( long value ) : void
value long
리턴 void

Write() 공개 메소드

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void