System::IO::Stream::BeginWrite method
Contents
[
Hide
]Stream::BeginWrite method
Initiates an asynchronous write operation.
virtual System::SharedPtr<System::IAsyncResult> System::IO::Stream::BeginWrite(System::ArrayPtr<uint8_t> buffer, int offset, int count, System::AsyncCallback callback, System::SharedPtr<System::Object> state)
Parameter | Type | Description |
---|---|---|
buffer | System::ArrayPtr<uint8_t> | A buffer containing data to be written |
offset | int | A 0-based offset in buffer indicating the position from which the data to write begins |
count | int | The number of bytes to write |
callback | System::AsyncCallback | A callback to be called when the operation completes |
state | System::SharedPtr<System::Object> | User-provided data used to uniquely identify each asynchronous write operation |
ReturnValue
An IAsyncResult object representing the initiated asynchronous write operation
See Also
- Typedef SharedPtr
- Class IAsyncResult
- Typedef ArrayPtr
- Typedef AsyncCallback
- Class Object
- Class Stream
- Namespace System::IO
- Library Aspose.Page for C++