pdfire / io.pdfire.client / BytesResult

BytesResult

class BytesResult : AbstractResult

Contains the generated PDF as a byte array.

Constructors

<init>

BytesResult(bytes: ByteArray)

Contains the generated PDF as a byte array.

Functions

getBytes

fun getBytes(): ByteArray

Return the PDF as a byte array.

Inherited Functions

saveTo

open fun saveTo(path: String): Unit

Save the PDF to the given path.