pdfire / io.pdfire.client / Result

Result

interface Result

Provides the PDF as a byte array and a function that saves it to a path on the disk.

Functions

getBytes

abstract fun getBytes(): ByteArray

Return the PDF as a byte array.

saveTo

abstract fun saveTo(path: String): Unit

Save the PDF to the given path.

Inheritors

AbstractResult

abstract class AbstractResult : Result

Base class for conversion results.