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

Method skipSpaces

src/parser/xref-parser.ts:453–457  ·  view source on GitHub ↗

* Skip space characters (not newlines).

()

Source from the content-addressed store, hash-verified

451 * Skip space characters (not newlines).
452 */
453 private skipSpaces(): void {
454 while (this.scanner.peek() === SPACE) {
455 this.scanner.advance();
456 }
457 }
458
459 /**
460 * Skip to the end of line (but don't consume EOL).

Callers 1

parseEntryMethod · 0.95

Calls 2

advanceMethod · 0.80
peekMethod · 0.45

Tested by

no test coverage detected