Stream Reader
Reads the provided stream of code points, and implements look-ahead operations.
Checks if code points are in the allowed range. If stream contains invalid UTF-8-encoded bytes, they will be replaced with ?
.
Parameters
load Settings
configuration options
stream
the input
Constructors
Link copied to clipboard
Read the provided String into a Buffer and implement look-ahead operations.
Properties
Functions
Link copied to clipboard
Read the next length characters and move the pointer.
Link copied to clipboard
Generate Mark of the current position, or null
if LoadSettings.useMarks is false
.
Link copied to clipboard
prefix(length)
immediately followed by forward(length)
Link copied to clipboard
Reset the position to start (at the start of a new document in the stream)