ProviderI2cTransferResult.BytesTransferred Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The actual number of bytes that the operation actually transferred. The following table describes what this value represents for each method.
Method | Description |
---|---|
ReadPartial | The actual number of bytes that the read operation read into the buffer. If the value of the Status member is ProviderI2CTransferStatus.PartialTransfer, this value may be less than the number of bytes in the buffer that you specified in the buffer parameter. |
WritePartial | The actual number of bytes that the write operation transferred to the I2 C device. If the value of the Status member is ProviderI2CTransferStatus.PartialTransfer, this value may be less than the number of bytes in the buffer that you specified in the buffer parameter. |
WriteReadPartial | The actual number of bytes that the operation transferred, which is the sum of the number of bytes that the operation wrote and the number of bytes that the operation read. If the value of the Status member is ProviderI2CTransferStatus.PartialTransfer, this value may be less than the sum of lengths of the buffers that you specified in the writeBuffer and readBuffer parameters. |
public: unsigned int BytesTransferred;
uint32_t BytesTransferred;
public uint BytesTransferred;
Public BytesTransferred As UInteger