Use this method to read a UTF-16-encoded string from the stream's current position. Strings are written to the stream with a 32-bit, signed integer length-prefix when using the WriteString method. This method reads the string using the length prefix.
If the string cannot be read for any reason, an exception will be raised.