C# 클래스 ESRI.ArcGIS.Client.Toolkit.DataSources.Kml.Zip.CountingStream

A Stream wrapper, used for bookkeeping on input or output streams. In some cases, it is not possible to get the Position of a stream, let's say, on a write-only output stream like ASP.NET's Response.Output, or on a different write-only stream provided as the destination for the zip by the application. In this case, we can use this counting stream to count the bytes read or written.
상속: System.IO.Stream
파일 보기 프로젝트 열기: Esri/arcgis-toolkit-sl-wpf

공개 메소드들

메소드 설명
Adjust ( System.Int64 delta ) : void
CountingStream ( System s ) : System

The constructor.

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

메소드 상세

Adjust() 공개 메소드

public Adjust ( System.Int64 delta ) : void
delta System.Int64
리턴 void

CountingStream() 공개 메소드

The constructor.
public CountingStream ( System s ) : System
s System The underlying stream
리턴 System

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, System origin ) : long
offset long
origin System
리턴 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