Writes data of type String into the message.
| 217 | /// Writes data of type String into the message. |
| 218 | /// </summary> |
| 219 | FORCE_INLINE void WriteStringAnsi(const StringAnsiView& value) |
| 220 | { |
| 221 | WriteUInt16(value.Length()); // TODO: Use 1-byte length when possible |
| 222 | WriteBytes((const uint8*)value.Get(), value.Length()); |
| 223 | } |
| 224 | |
| 225 | /// <summary> |
| 226 | /// Reads and returns data of type String from the message. UTF-16 encoded. Data valid within message lifetime. |
no test coverage detected