DtlsHandshakeHeader.serialize

ubyte[DTLS_HANDSHAKE_HEADER_SIZE] serialize() const @safe pure nothrow @nogc

Serializes the DTLS handshake header to wire format.

Returns

A 12-byte array containing the serialized header.