Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/foliojs/pdfkit
/ end
Method
end
lib/reference.js:38–43 ·
view source on GitHub ↗
(chunk)
Source
from the content-addressed store, hash-verified
36
}
37
38
end(chunk) {
39
if
(chunk) {
40
this.write(chunk);
41
}
42
this.finalize();
43
}
44
45
finalize() {
46
this.offset = this.document._offset;
Callers
nothing calls this directly
Calls
2
write
Method · 0.95
finalize
Method · 0.95
Tested by
no test coverage detected