C# Класс PRI.ProductivityExtensions.FileStreamExtensions.FileStreamable

Class that contains extension methods that extend FileStream
Показать файл Открыть проект

Открытые методы

Метод Описание
BeginRead ( this filestream, Byte array, AsyncCallback userCallback ) : IAsyncResult

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

BeginRead ( this filestream, Byte array, Int32 offset, Int32 numBytes, AsyncCallback userCallback ) : IAsyncResult

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

BeginWrite ( this filestream, Byte array, AsyncCallback userCallback ) : IAsyncResult

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

BeginWrite ( this filestream, Byte array, Int32 offset, Int32 numBytes, AsyncCallback userCallback ) : IAsyncResult

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

Описание методов

BeginRead() публичный статический Метод

Extends BeginRead so that buffer offset of 0 and call to Array.Length are not needed. filestream.BeginRead(array, userCallback);
public static BeginRead ( this filestream, Byte array, AsyncCallback userCallback ) : IAsyncResult
filestream this
array Byte
userCallback AsyncCallback
Результат IAsyncResult

BeginRead() публичный статический Метод

Extends BeginRead so that when a state object is not needed, null does not need to be passed. filestream.BeginRead(array, offset, numBytes, userCallback);
public static BeginRead ( this filestream, Byte array, Int32 offset, Int32 numBytes, AsyncCallback userCallback ) : IAsyncResult
filestream this
array Byte
offset System.Int32
numBytes System.Int32
userCallback AsyncCallback
Результат IAsyncResult

BeginWrite() публичный статический Метод

Extends BeginWrite so that buffer offset of 0 and call to Array.Length are not needed. filestream.BeginWrite(array, userCallback);
public static BeginWrite ( this filestream, Byte array, AsyncCallback userCallback ) : IAsyncResult
filestream this
array Byte
userCallback AsyncCallback
Результат IAsyncResult

BeginWrite() публичный статический Метод

Extends BeginWrite so that when a state object is not needed, null does not need to be passed. filestream.BeginWrite(array, offset, numBytes, userCallback);
public static BeginWrite ( this filestream, Byte array, Int32 offset, Int32 numBytes, AsyncCallback userCallback ) : IAsyncResult
filestream this
array Byte
offset System.Int32
numBytes System.Int32
userCallback AsyncCallback
Результат IAsyncResult