* Create a PdfString from raw bytes. * Uses hex format for cleaner output.
(bytes: Uint8Array)
| 61 | * Uses hex format for cleaner output. |
| 62 | */ |
| 63 | static fromBytes(bytes: Uint8Array): PdfString { |
| 64 | return new PdfString(bytes, "hex"); |
| 65 | } |
| 66 | |
| 67 | toBytes(writer: ByteWriter): void { |
| 68 | if (this.format === "hex") { |
no outgoing calls
no test coverage detected