System::IO::StringReader class
Contents
[
Hide
]StringReader class
Represents a reader that reads characters from a string. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class StringReader : public System::IO::TextReader
Methods
Method | Description |
---|---|
Close() override | Closes the stream. |
Dispose() override | Does nothing. |
Dispose(bool) override | Does nothing. |
Peek() override | Reads a single character from the stream without changing the stream’s position. |
Read() override | Reads a single character from the stream. |
Read(ArrayPtr<char_t>, int, int) override | Reads the specified number of characters from the stream to the specified character array starting at the specified position. |
ReadLine() override | Reads characters from the stream until the end of the current line. |
ReadToEnd() override | Reads characters from the stream until the end of the stream. |
StringReader(const String&) | Constructs a new instance of StringReader class that reads characters from the specified string. |
See Also
- Class TextReader
- Namespace System::IO
- Library Aspose.PDF for C++