writeBytes Function
external fun writeBytes(packed: Boolean): ByteArray
Serialises this layout so it can be stored or passed between processes.
Return
the serialised layout
Parameters
- packed —
trueto compress the output.
Throws
- ScanningSdkException — if this layout has been closed