Construct a Reader.
Get index of the current character in the buffer.
Get current column number.
Get encoding of the input buffer.
Move current position forward.
Move current position forward by one character.
Get the next character, moving buffer position beyond it.
Get specified number of characters, moving buffer position beyond them.
Get current line number.
Get a string describing current buffer position, used for error messages.
Get file name.
Set file name.
Get character at specified index relative to current position.
Optimized version of peek() for the case where peek index is 0.
Get byte at specified index relative to current position.
Optimized version of peekByte() for the case where peek byte index is 0.
Get specified number of characters starting at current position.
Get specified number of bytes, not code points, starting at current position.
Get a slice view of the internal buffer, starting at the current position.
Used to build slices of read data in Reader; to avoid allocations.
Provides an API to read characters from a UTF-8 buffer and build slices into that buffer to avoid allocations (see SliceBuilder).