MCPcopy 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

writeMethod · 0.95
finalizeMethod · 0.95

Tested by

no test coverage detected