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

Method resolve

src/api/pdf-context.ts:120–122  ·  view source on GitHub ↗

* Resolve an object by reference. * * Synchronously resolves the reference, parsing from the in-memory * buffer if not already cached. All PDF data is loaded at parse time, * so this operation never requires I/O.

(ref: PdfRef)

Source from the content-addressed store, hash-verified

118 * so this operation never requires I/O.
119 */
120 resolve(ref: PdfRef): PdfObject | null {
121 return this.registry.resolve(ref);
122 }
123
124 /**
125 * Get the reference for an object.

Callers 15

loadExistingDataMethod · 0.45
extractRefHashesMethod · 0.45
collectReachableRefsFunction · 0.45
getLayersFunction · 0.45
getPopupMethod · 0.45
flattenPageMethod · 0.45
wrapAndAppendContentMethod · 0.45
removeAnnotationsMethod · 0.45
getObjectMethod · 0.45
getPagesMethod · 0.45
getPageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected