C# 클래스 CmisSync.Lib.Streams.ProgressStream

Progress reporting stream.
상속: NotifyPropertyChangedStream
파일 보기 프로젝트 열기: OpenDataSpace/CmisSync 1 사용 예제들

공개 메소드들

메소드 설명
ProgressStream ( Stream stream ) : System

Initializes a new instance of the CmisSync.Lib.Streams.ProgressStream class. The given transmission event will be used to report the progress

Read ( byte buffer, int offset, int count ) : int

Read the specified buffer, offset and count.

Seek ( long offset, SeekOrigin origin ) : long

Seek the specified offset and origin.

SetLength ( long value ) : void

Sets the length.

Write ( byte buffer, int offset, int count ) : void

Write the specified buffer, offset and count.

메소드 상세

ProgressStream() 공개 메소드

Initializes a new instance of the CmisSync.Lib.Streams.ProgressStream class. The given transmission event will be used to report the progress
public ProgressStream ( Stream stream ) : System
stream Stream /// Stream which progress should be monitored. ///
리턴 System

Read() 공개 메소드

Read the specified buffer, offset and count.
public Read ( byte buffer, int offset, int count ) : int
buffer byte /// Buffer. ///
offset int /// Offset. ///
count int /// Count. ///
리턴 int

Seek() 공개 메소드

Seek the specified offset and origin.
public Seek ( long offset, SeekOrigin origin ) : long
offset long /// Offset. ///
origin SeekOrigin /// Origin. ///
리턴 long

SetLength() 공개 메소드

Sets the length.
public SetLength ( long value ) : void
value long /// Value. ///
리턴 void

Write() 공개 메소드

Write the specified buffer, offset and count.
public Write ( byte buffer, int offset, int count ) : void
buffer byte /// Buffer. ///
offset int /// Offset. ///
count int /// Count. ///
리턴 void