WriteBlob Method (PubSubBuffer)
- Last UpdatedApr 08, 2026
- 1 minute read
Writes an unstructured System.Byte array to the buffer.
public:
void WriteBlob(
array<byte>^ val,
int maxLen
)
Parameters
- val
- The unstructured System.Byte array data to write into the buffer.
- maxLen
- The number of bytes in the blob.
| Exception | Description |
|---|---|
| PubSubBuffer.WriteFailedException | An attempt to write to the buffer failed due to maxLen exceeds the number of bytes in the blob. |