Reads and returns data of type from the message.
()
| 206 | /// Reads and returns data of type <see cref="Single"/> from the message. |
| 207 | /// </summary> |
| 208 | public float ReadSingle() |
| 209 | { |
| 210 | float value = 0.0f; |
| 211 | ReadBytes((byte*)&value, sizeof(float)); |
| 212 | return value; |
| 213 | } |
| 214 | |
| 215 | /// <summary> |
| 216 | /// Writes data of type <see cref="Double"/> into the message. |
no test coverage detected