C# Class PRI.ProductivityExtensions.GZipStreamExtensions.GZipStreamable

Class that contains extension methods that extend GZipStream
Datei anzeigen Open project: peteraritchie/ProductivityExtensions

Public Methods

Method 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 method

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
return IAsyncResult

BeginRead() public static method

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
return IAsyncResult

BeginWrite() public static method

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
return IAsyncResult

BeginWrite() public static method

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
return IAsyncResult