write

open override fun write(data: ByteArray): 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.