* Create stream from dict entries and data.
(
entries: Record<string, PdfObject>,
data: Uint8Array = new Uint8Array(0),
)
| 90 | * Create stream from dict entries and data. |
| 91 | */ |
| 92 | static fromDict( |
| 93 | entries: Record<string, PdfObject>, |
| 94 | data: Uint8Array = new Uint8Array(0), |
| 95 | ): PdfStream { |
| 96 | return new PdfStream(Object.entries(entries), data); |
| 97 | } |
| 98 | |
| 99 | /** |
| 100 | * Get the decoded (decompressed) stream data. |
no test coverage detected