write

abstract fun write(data: Array<Byte>): Boolean

Called by PSPDFKit to write data to the document. This callback will be called multiple times in a writing operation.

Return

true if writing succeeded, false if the write operation should be aborted.

Parameters

data

Data to be written to the file.