Writes data of type String into the message. UTF-16 encoded.
| 208 | /// Writes data of type String into the message. UTF-16 encoded. |
| 209 | /// </summary> |
| 210 | FORCE_INLINE void WriteString(const StringView& value) |
| 211 | { |
| 212 | WriteUInt16(value.Length()); // TODO: Use 1-byte length when possible |
| 213 | WriteBytes((const uint8*)value.Get(), value.Length() * sizeof(Char)); |
| 214 | } |
| 215 | |
| 216 | /// <summary> |
| 217 | /// Writes data of type String into the message. |