Converts the float argument to an int using the floatToIntBits method in class Float, and then writes that int value to the bytes message stream as a 4-byte quantity, high byte first.
Assembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Sub WriteFloat ( _ value As Single _ ) |
| C# |
|---|
void WriteFloat( float value ) |
| Visual C++ |
|---|
void WriteFloat( float value ) |
Parameters
- value
- Type: System..::..Single
the float value 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. |