@uml Copy data in string to a local char array
@uml This is the preferred constructor for strings as no data is copied
@uml @override
@uml @override
@uml @override
@uml @override
@uml @override
@uml mark/release do nothing; we have entire buffer @override
@uml @override
@uml 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.
@uml consume() ahead until p==index; can't just set p=index as we must update line and charPositionInLine. If we seek backwards, just set p @override
@uml @override
@uml @override
@uml The data being scanned
@uml How many characters are actually in the buffer
@uml What is name or source of this char stream?
@uml 0..n-1 index into string of next char
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>