Bytes

class Bytes(val data: ByteArray) : PdfSource

A memory-backed PDF source.

The document retains data until it is closed. Callers must not mutate the array while the document is open.

Constructors

Link copied to clipboard
constructor(data: ByteArray)

Properties

Link copied to clipboard

Document bytes; retained until the document closes.

Functions

Link copied to clipboard
open override fun close()