toByteString

fun toByteString(): <Error class: unknown class>(source)

Writes this Snapshot and all its children into a ByteString. The snapshot can be restored with parse.

Any children snapshots for workflows whose WorkflowIdentifiers are unsnapshottableIdentifier will not be serialized.