Copy data in string to a local char array
This is the preferred constructor for strings as no data is copied
UTF-8 coded character mapped to UTF-32 @uml @override
@uml @override
@uml @override
@uml @override
@uml @override
mark/release do nothing; we have entire buffer @uml @override
@uml @override
Reset the stream so that it's in the same state it was when the object was created *except* the data array is not touched.
consume() ahead until index_of_next_character==index; can't just set index_of_next_character=index as we must update line and charPositionInLine. If we seek backwards, just set index_of_next_character @uml @override
@uml @override
@uml @override
How many UCS code_points are actually in the buffer
The UTF-8 data being scanned
index of next UTF-8 character
What is name or source of this char stream?
This method returns the text for a range of characters within this input stream. This method is guaranteed to not throw an exception if the specified {@code interval} lies entirely within a marked range. For more information about marked ranges, see {@link IntStream#mark}.
Vacuum all input from a {@link Reader}/{@link InputStream} and then treat it like a {@code char[]} buffer. Can also pass in a {@link String} or {@code char[]} to use.
<p>If you need encoding, pass in stream/reader with correct encoding.</p>