NativeDtlsEngine.buildDtlsRecord

private ubyte[] buildDtlsRecord(ContentType type, ushort epoch, ulong seq, const(ubyte)[] payload) @safe pure nothrow

Build a complete DTLS record with the given parameters.

Parameters

typeContent type.
epochEpoch number.
seqSequence number.
payloadRecord payload.

Returns

Serialized DTLS record.