C# 클래스 System.IO.Compression.PositionPreservingWriteOnlyStreamWrapper

상속: Stream
파일 보기 프로젝트 열기: dotnet/corefx

공개 메소드들

메소드 설명
BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
Close ( ) : void
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
FlushAsync ( CancellationToken cancellationToken ) : Task
PositionPreservingWriteOnlyStreamWrapper ( Stream stream ) : System.Threading

Creates a wrapper for write-only (non-readable, non-seekable) streams that keeps track of Position and allows it to be read.

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
WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
WriteByte ( byte value ) : void

보호된 메소드들

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

메소드 상세

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

Dispose() 보호된 메소드

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

EndWrite() 공개 메소드

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

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

FlushAsync() 공개 메소드

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

PositionPreservingWriteOnlyStreamWrapper() 공개 메소드

Creates a wrapper for write-only (non-readable, non-seekable) streams that keeps track of Position and allows it to be read.
public PositionPreservingWriteOnlyStreamWrapper ( Stream stream ) : System.Threading
stream Stream The underlying stream, which handles all actual writes.
리턴 System.Threading

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

WriteAsync() 공개 메소드

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

WriteByte() 공개 메소드

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