MCPcopy Create free account
hub / github.com/LibPDF-js/core / peekByte

Method peekByte

src/parser/token-reader.ts:117–121  ·  view source on GitHub ↗

* Peek at the next raw byte (after skipping whitespace/comments).

()

Source from the content-addressed store, hash-verified

115 * Peek at the next raw byte (after skipping whitespace/comments).
116 */
117 peekByte(): number {
118 this.skipWhitespaceAndComments();
119
120 return this.scanner.peek();
121 }
122
123 private skipToEndOfLine(): void {
124 while (true) {

Callers 1

Calls 2

peekMethod · 0.45

Tested by

no test coverage detected