C# Class PRI.ProductivityExtensions.PipeStreamExtensions.PipeStreamable

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

Méthodes publiques

Méthode Description
BeginRead ( this pipestream, Byte buffer, AsyncCallback callback ) : IAsyncResult

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

BeginRead ( this pipestream, Byte buffer, Int32 offset, Int32 count, AsyncCallback callback ) : IAsyncResult

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

BeginWrite ( this pipestream, Byte buffer, AsyncCallback callback ) : IAsyncResult

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

BeginWrite ( this pipestream, Byte buffer, Int32 offset, Int32 count, AsyncCallback callback ) : IAsyncResult

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

Method Details

BeginRead() public static méthode

Extends BeginRead so that buffer offset of 0 and call to Array.Length are not needed. pipestream.BeginRead(buffer, callback);
public static BeginRead ( this pipestream, Byte buffer, AsyncCallback callback ) : IAsyncResult
pipestream this
buffer Byte
callback 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. pipestream.BeginRead(buffer, offset, count, callback);
public static BeginRead ( this pipestream, Byte buffer, Int32 offset, Int32 count, AsyncCallback callback ) : IAsyncResult
pipestream this
buffer Byte
offset System.Int32
count System.Int32
callback 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. pipestream.BeginWrite(buffer, callback);
public static BeginWrite ( this pipestream, Byte buffer, AsyncCallback callback ) : IAsyncResult
pipestream this
buffer Byte
callback 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. pipestream.BeginWrite(buffer, offset, count, callback);
public static BeginWrite ( this pipestream, Byte buffer, Int32 offset, Int32 count, AsyncCallback callback ) : IAsyncResult
pipestream this
buffer Byte
offset System.Int32
count System.Int32
callback AsyncCallback
Résultat IAsyncResult