C# Класс PRI.ProductivityExtensions.MemoryMappedViewStreamExtensions.MemoryMappedViewStreamable

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

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

Метод Описание
BeginRead ( this stream, Byte buffer, AsyncCallback callback ) : IAsyncResult

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

BeginRead ( this stream, 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. stream.BeginRead(buffer, offset, count, callback);

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

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

BeginWrite ( this stream, 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. stream.BeginWrite(buffer, offset, count, callback);

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

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

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

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

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

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

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

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

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