NativeDtlsEngine.buildDtlsRecord
private
ubyte[] buildDtlsRecord(ContentType type, ushort epoch,
ulong seq, const(ubyte)[] payload) @safe pure nothrowBuild a complete DTLS record with the given parameters.
Parameters
type | Content type. |
epoch | Epoch number. |
seq | Sequence number. |
payload | Record payload. |
Returns
Serialized DTLS record.