C# 클래스 PRI.ProductivityExtensions.FileStreamExtensions.FileStreamable

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

공개 메소드들

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