Reads a String from the current stream. The String is prefixed with the length, encoded as an integer 7 bits at a time.
[Visual Basic] Overridable Public Function ReadString() As String [C#] public virtual string ReadString(); [C++] public: virtual String* ReadString(); [JScript] public function ReadString() : String;
A String.
Exception Type | Condition |
---|---|
EndOfStreamException | The end of the stream has been reached. |
IOException | An I/O error occurs. |
BinaryReader Class | BinaryReader Members | System.IO Namespace