C# Class PRI.ProductivityExtensions.GZipStreamExtensions.GZipStreamable

Class that contains extension methods that extend GZipStream
Afficher le fichier Open project: peteraritchie/ProductivityExtensions

Méthodes publiques

Méthode Description
BeginRead ( this gzipstream, Byte array, AsyncCallback asyncCallback ) : IAsyncResult

Extends BeginRead so that buffer offset of 0 and call to Array.Length are not needed. gzipstream.BeginRead(array, asyncCallback);

BeginRead ( this gzipstream, Byte array, Int32 offset, Int32 count, AsyncCallback asyncCallback ) : IAsyncResult

Extends BeginRead so that when a state object is not needed, null does not need to be passed. gzipstream.BeginRead(array, offset, count, asyncCallback);

BeginWrite ( this gzipstream, Byte array, AsyncCallback asyncCallback ) : IAsyncResult

Extends BeginWrite so that buffer offset of 0 and call to Array.Length are not needed. gzipstream.BeginWrite(array, asyncCallback);

BeginWrite ( this gzipstream, Byte array, Int32 offset, Int32 count, AsyncCallback asyncCallback ) : IAsyncResult

Extends BeginWrite so that when a state object is not needed, null does not need to be passed. gzipstream.BeginWrite(array, offset, count, asyncCallback);

Method Details

BeginRead() public static méthode

Extends BeginRead so that buffer offset of 0 and call to Array.Length are not needed. gzipstream.BeginRead(array, asyncCallback);
public static BeginRead ( this gzipstream, Byte array, AsyncCallback asyncCallback ) : IAsyncResult
gzipstream this
array Byte
asyncCallback AsyncCallback
Résultat IAsyncResult

BeginRead() public static méthode

Extends BeginRead so that when a state object is not needed, null does not need to be passed. gzipstream.BeginRead(array, offset, count, asyncCallback);
public static BeginRead ( this gzipstream, Byte array, Int32 offset, Int32 count, AsyncCallback asyncCallback ) : IAsyncResult
gzipstream this
array Byte
offset System.Int32
count System.Int32
asyncCallback AsyncCallback
Résultat IAsyncResult

BeginWrite() public static méthode

Extends BeginWrite so that buffer offset of 0 and call to Array.Length are not needed. gzipstream.BeginWrite(array, asyncCallback);
public static BeginWrite ( this gzipstream, Byte array, AsyncCallback asyncCallback ) : IAsyncResult
gzipstream this
array Byte
asyncCallback AsyncCallback
Résultat IAsyncResult

BeginWrite() public static méthode

Extends BeginWrite so that when a state object is not needed, null does not need to be passed. gzipstream.BeginWrite(array, offset, count, asyncCallback);
public static BeginWrite ( this gzipstream, Byte array, Int32 offset, Int32 count, AsyncCallback asyncCallback ) : IAsyncResult
gzipstream this
array Byte
offset System.Int32
count System.Int32
asyncCallback AsyncCallback
Résultat IAsyncResult