NHibernate.Lob.External.FileSystemCasConnection.FileSystemCasBlobWriter.BeginWrite C# (CSharp) Method

BeginWrite() public method

public BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
return IAsyncResult
			public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
			{
				ThrowIfClosed();
				byte[] cryptBuffer = (byte[])buffer.Clone();
				hash.TransformBlock(cryptBuffer, offset, count, cryptBuffer, 0);
				return tempStream.BeginWrite(buffer, offset, count, callback, state);
			}