NativeTlsSession.serialize
ubyte[] serialize() constSerializes the session for external storage.
Format: 4 bytes sessionId length4 bytes ticket length[8 bytes expiration]. All integers are big-endian, making the format portable across architectures.
Returns
Serialized session data.