Creates a lexer over data, optionally limited to start .. end.
data
start
end
PdfContentLexer(this.data, {int start = 0, int? end}) : position = start, end = end ?? data.length;