C# 클래스 PRI.ProductivityExtensions.UnmanagedMemoryStreamExtensions.UnmanagedMemoryStreamable

Class that contains extension methods that extend UnmanagedMemoryStream
파일 보기 프로젝트 열기: peteraritchie/ProductivityExtensions

공개 메소드들

메소드 설명
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