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

Method extractText

src/parser/token-reader.ts:608–612  ·  view source on GitHub ↗
(start: number, end: number)

Source from the content-addressed store, hash-verified

606 }
607
608 private extractText(start: number, end: number): string {
609 const bytes = this.scanner.bytes.subarray(start, end);
610
611 return sharedTextDecoder.decode(bytes);
612 }
613}

Callers 2

readNumberMethod · 0.95
readKeywordMethod · 0.95

Calls 1

decodeMethod · 0.65

Tested by

no test coverage detected