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

Method refill

src/parser/object-parser.ts:85–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 }
84
85 private refill(): void {
86 this.buf1 = this.reader.nextToken();
87 this.buf2 = this.reader.nextToken();
88 }
89
90 private shift(): void {
91 this.buf1 = this.buf2;

Callers 1

ensureBufferFilledMethod · 0.95

Calls 1

nextTokenMethod · 0.45

Tested by

no test coverage detected