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

상속: Stream
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
BeginRead ( byte array, int offset, int count, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
BeginWrite ( byte array, int offset, int count, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
CopyToAsync ( Stream destination, int bufferSize, CancellationToken cancellationToken ) : Task
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
FlushAsync ( CancellationToken cancellationToken ) : Task
GZipStream ( System stream, System compressionLevel )
GZipStream ( System stream, System compressionLevel, bool leaveOpen )
GZipStream ( Stream stream, CompressionLevel compressionLevel ) : System.IO
GZipStream ( Stream stream, CompressionLevel compressionLevel, bool leaveOpen ) : System.IO
GZipStream ( Stream stream, CompressionMode mode ) : System.IO
GZipStream ( Stream stream, CompressionMode mode, bool leaveOpen ) : System.IO
Read ( byte array, int offset, int count ) : int
ReadAsync ( byte array, int offset, int count, System cancellationToken ) : System.Threading.Tasks.Task
ReadAsync ( byte array, int offset, int count, CancellationToken cancellationToken ) : Task
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
Seek ( long offset, System origin ) : long
SetLength ( long value ) : void
Write ( byte array, int offset, int count ) : void
WriteAsync ( byte array, int offset, int count, System cancellationToken ) : System.Threading.Tasks.Task
WriteAsync ( byte array, int offset, int count, CancellationToken cancellationToken ) : Task

보호된 메소드들

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

비공개 메소드들

메소드 설명
CheckDeflateStream ( ) : void
ThrowStreamClosedException ( ) : void

메소드 상세

BeginRead() 공개 메소드

public BeginRead ( byte array, int offset, int count, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
array byte
offset int
count int
asyncCallback AsyncCallback
asyncState object
리턴 IAsyncResult

BeginWrite() 공개 메소드

public BeginWrite ( byte array, int offset, int count, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
array byte
offset int
count int
asyncCallback AsyncCallback
asyncState object
리턴 IAsyncResult

CopyToAsync() 공개 메소드

public CopyToAsync ( Stream destination, int bufferSize, CancellationToken cancellationToken ) : Task
destination Stream
bufferSize int
cancellationToken CancellationToken
리턴 Task

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 ( CancellationToken cancellationToken ) : Task
cancellationToken CancellationToken
리턴 Task

GZipStream() 공개 메소드

public GZipStream ( System stream, System compressionLevel )
stream System
compressionLevel System

GZipStream() 공개 메소드

public GZipStream ( System stream, System compressionLevel, bool leaveOpen )
stream System
compressionLevel System
leaveOpen bool

GZipStream() 공개 메소드

public GZipStream ( Stream stream, CompressionLevel compressionLevel ) : System.IO
stream Stream
compressionLevel CompressionLevel
리턴 System.IO

GZipStream() 공개 메소드

public GZipStream ( Stream stream, CompressionLevel compressionLevel, bool leaveOpen ) : System.IO
stream Stream
compressionLevel CompressionLevel
leaveOpen bool
리턴 System.IO

GZipStream() 공개 메소드

public GZipStream ( Stream stream, CompressionMode mode ) : System.IO
stream Stream
mode CompressionMode
리턴 System.IO

GZipStream() 공개 메소드

public GZipStream ( Stream stream, CompressionMode mode, bool leaveOpen ) : System.IO
stream Stream
mode CompressionMode
leaveOpen bool
리턴 System.IO

Read() 공개 메소드

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

ReadAsync() 공개 메소드

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

ReadAsync() 공개 메소드

public ReadAsync ( byte array, int offset, int count, CancellationToken cancellationToken ) : Task
array byte
offset int
count int
cancellationToken CancellationToken
리턴 Task

ReadByte() 공개 메소드

public ReadByte ( ) : int
리턴 int

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

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 array, int offset, int count ) : void
array byte
offset int
count int
리턴 void

WriteAsync() 공개 메소드

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

WriteAsync() 공개 메소드

public WriteAsync ( byte array, int offset, int count, CancellationToken cancellationToken ) : Task
array byte
offset int
count int
cancellationToken CancellationToken
리턴 Task