C# 클래스 LogStreamer.CountingStream

A wrapper around a Stream that keeps track of the number of bytes read and written.
상속: Stream, IDisposable
파일 보기 프로젝트 열기: StarcounterPrefabs/LogStreamer 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void
CountingStream ( Stream inner ) : System
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

보호된 메소드들

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

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

CountingStream() 공개 메소드

public CountingStream ( Stream inner ) : System
inner Stream
리턴 System

Dispose() 보호된 메소드

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

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

Read() 공개 메소드

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count 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