C# 클래스 OpenStack.IO.DelegatingStream

This class operates as a wrapper around an underlying Stream instance.
상속: System.IO.Stream
파일 보기 프로젝트 열기: crowdy/OpenStack-ConoHa

공개 메소드들

메소드 설명
BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
Close ( ) : void
CopyToAsync ( System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken ) : System.Threading.Tasks.Task
DelegatingStream ( System.IO.Stream underlyingStream ) : System

Initializes a new instance of the DelegatingStream class from the specified Stream.

DelegatingStream ( System.IO.Stream underlyingStream, bool ownsStream ) : System

Initializes a new instance of the DelegatingStream class from the specified Stream.

EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
FlushAsync ( System.Threading.CancellationToken cancellationToken ) : System.Threading.Tasks.Task
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, System.Threading.CancellationToken cancellationToken ) : Task
ReadByte ( ) : int
Seek ( long offset, System.IO.SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int count, System.Threading.CancellationToken cancellationToken ) : System.Threading.Tasks.Task
WriteByte ( byte value ) : void

보호된 메소드들

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

메소드 상세

BeginRead() 공개 메소드

public BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
리턴 IAsyncResult

BeginWrite() 공개 메소드

public BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
리턴 IAsyncResult

Close() 공개 메소드

public Close ( ) : void
리턴 void

CopyToAsync() 공개 메소드

public CopyToAsync ( System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken ) : System.Threading.Tasks.Task
destination System.IO.Stream
bufferSize int
cancellationToken System.Threading.CancellationToken
리턴 System.Threading.Tasks.Task

DelegatingStream() 공개 메소드

Initializes a new instance of the DelegatingStream class from the specified Stream.
/// If is . ///
public DelegatingStream ( System.IO.Stream underlyingStream ) : System
underlyingStream System.IO.Stream The stream to wrap.
리턴 System

DelegatingStream() 공개 메소드

Initializes a new instance of the DelegatingStream class from the specified Stream.
/// If is . ///
public DelegatingStream ( System.IO.Stream underlyingStream, bool ownsStream ) : System
underlyingStream System.IO.Stream The stream to wrap.
ownsStream bool /// if this object owns the wrapped stream, and should dispose /// of it when this instance is closed or disposed. /// -or- /// if this object should not dispose of the wrapped stream. /// The default value is . ///
리턴 System

Dispose() 보호된 메소드

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

EndRead() 공개 메소드

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
리턴 int

EndWrite() 공개 메소드

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

FlushAsync() 공개 메소드

public FlushAsync ( System.Threading.CancellationToken cancellationToken ) : System.Threading.Tasks.Task
cancellationToken System.Threading.CancellationToken
리턴 System.Threading.Tasks.Task

Read() 공개 메소드

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

ReadAsync() 공개 메소드

public ReadAsync ( byte buffer, int offset, int count, System.Threading.CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
리턴 Task

ReadByte() 공개 메소드

public ReadByte ( ) : int
리턴 int

Seek() 공개 메소드

public Seek ( long offset, System.IO.SeekOrigin origin ) : long
offset long
origin System.IO.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

WriteAsync() 공개 메소드

public WriteAsync ( byte buffer, int offset, int count, System.Threading.CancellationToken cancellationToken ) : System.Threading.Tasks.Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
리턴 System.Threading.Tasks.Task

WriteByte() 공개 메소드

public WriteByte ( byte value ) : void
value byte
리턴 void