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

Method ensureBufferFilled

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

Source from the content-addressed store, hash-verified

77 }
78
79 private ensureBufferFilled(): void {
80 if (this.buf1 === null) {
81 this.refill();
82 }
83 }
84
85 private refill(): void {
86 this.buf1 = this.reader.nextToken();

Callers 4

parseObjectMethod · 0.95
parseArrayMethod · 0.95
parseDictMethod · 0.95
skipInvalidPairMethod · 0.95

Calls 1

refillMethod · 0.95

Tested by

no test coverage detected