NativeTlsSession.serialize
ubyte[] serialize() constSerializes the session for external storage.
Format: [4 bytes sessionId length][sessionId][4 bytes ticket length][ticket][8 bytes expiration] This format is specific to the native backend and NOT portable.
Returns
Serialized session data.