write Function
external fun write(stream: OutputStream, packed: Boolean)
Writes the page to a stream in the SDK’s own format.
Parameters
- stream — where to write
- packed —
trueto compress the output
Throws
- ScanningSdkException — if this page has been closed, or if writing fails