System::IO::StringReader::Read method

StringReader::Read() method

Reads a single character from the stream.

virtual int System::IO::StringReader::Read() override

ReturnValue

A read character or -1 if no character has been read

See Also

StringReader::Read(ArrayPtr<char_t>, int, int) method

Reads the specified number of characters from the stream to the specified character array starting at the specified position.

virtual int System::IO::StringReader::Read(ArrayPtr<char_t> buffer, int index, int count) override
ParameterTypeDescription
bufferArrayPtr<char_t>The character array to write the characters read from the stream to
indexintA 0-based index in buffer at which to start writing
countintThe number of characters to read from the stream

ReturnValue

The number of characters read from the stream

See Also