Writes a byte array to the bytes message stream.
Assembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Sub WriteBytes ( _ value As Byte() _ ) |
| C# |
|---|
void WriteBytes( byte[] value ) |
| Visual C++ |
|---|
void WriteBytes( array<unsigned char>^ value ) |
Parameters
- value
- Type: array<System..::..Byte>[]()[][]
the byte array to be written
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to write the message due to some internal error. |
| Kaazing.JMS..::..MessageNotWriteableException | if the message is in read-only mode. |