serializeToBytes

Serializes the given NavigationResumeSnapshot into a byte array.

To deserialize byte array data, use the deserializeFromBytes method.

Return

The byte array representation of the serialized NavigationResumeSnapshot or NavigationResumeSnapshotSerializationFailure in the case of a serialization failure.