DataWriter.BeginWriteBinaryDataBuffer
BeginWriteBinaryDataBuffer
Syntax variant: Write buffer
Syntax
BeginWriteBinaryDataBuffer(<CallbackDescription>, <Buffer>)
Parameters
<CallbackDescription> (required)
Type: CallbackDescription. Contains a description of the procedure that is called upon completion of operation with the following parameters:
- <AdditionalParameters> - value specified when the object was created CallbackDescription.
<Buffer> (required)
Type: BinaryDataBuffer. Buffer that will be recorded to the stream.
Description of method variant
Record all the contents of the specified buffer to the target stream.
Syntax variant: Write part of bytes from a buffer
Syntax
BeginWriteBinaryDataBuffer(<CallbackDescription>, <Buffer>, <PositionInBuffer>, <Number>)
Parameters
<CallbackDescription> (required)
Type: CallbackDescription. Contains a description of the procedure to be called after the method operation is terminated with the following parameters:
- <AdditionalParameters> - value which was specified during creation of the CallbackDescription object.
<Buffer> (required)
Type: BinaryDataBuffer. Binary data buffer used as a data source for recording to the stream.
<PositionInBuffer> (required)
Type: Number. Position in the buffer from which the bytes for recording to the stream are read.
<Number> (required)
Type: Number. Number of bytes required to be recorded to the stream. Default value: Number.
Description of method variant
Starts recording the specified number of bytes from the specified buffer, starting from the specified position.
Description
Calls the start of byte recording from the buffer of binary data to the target stream.
Availability
Thin client, web-client, thick client.
See also
DataWriter, method WriteBinaryDataBuffer DataWriter, method WriteBinaryDataBufferAsync
No comments to display
No comments to display