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

Method fromString

src/objects/pdf-raw.ts:39–41  ·  view source on GitHub ↗

* Create from an ASCII string.

(str: string)

Source from the content-addressed store, hash-verified

37 * Create from an ASCII string.
38 */
39 static fromString(str: string): PdfRaw {
40 return new PdfRaw(str);
41 }
42
43 /**
44 * Write the raw bytes exactly as-is.

Callers 15

buildMethod · 0.45
file-spec.test.tsFile · 0.45
createEmbeddedFileStreamFunction · 0.45
createFileSpecFunction · 0.45
pdf-object.test.tsFile · 0.45
pdf-string.test.tsFile · 0.45
pdf-dict.test.tsFile · 0.45
operators.test.tsFile · 0.45
showTextFunction · 0.45
moveAndShowTextFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected