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
Показать файл Открыть проект

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

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