Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
parseObject
Method · 0.95
parseArray
Method · 0.95
parseDict
Method · 0.95
skipInvalidPair
Method · 0.95
Calls
1
refill
Method · 0.95
Tested by
no test coverage detected