BeginWrite
Begins an asynchronous buffer write. Currently the CryptoStream class does not support asynchronous buffer writing.
Public Function BeginWrite(
ByRef Buffer ( ) As Byte,
ByVal offset As Long,
ByVal Count As Long,
Optional ByVal Callback As AsyncCallback,
Optional ByVal State As Variant ) As IAsyncResult
Parameters
- Buffer
-
[ByRef]
Byte.
The source array to copy the bytes from into the stream.
- offset
-
[ByVal]
Long.
The starting index in the source Buffer to begin copying from.
- Count
-
[ByVal]
Long.
The maximum number of bytes to be copied into the stream.
- Callback
-
[ByVal]
Optional.
AsyncCallback.
A user supplied object to be notified of the finish of the writing.
- State
-
[ByVal]
Optional.
Variant.
User data that can be carried within the IAsyncResult object return.
Return Values
IAsyncResult - An IAsyncResult object used to identify the corrisponding EndBread and report
information about the buffer read.
Remarks
See Also
Project VBCorLib Overview
Class CryptoStream Overview
CryptoStream Properties
CryptoStream Methods
BeginRead
CanRead (get)