ngtcp2_cid_init

Synopsis

#include <ngtcp2/ngtcp2.h>

void ngtcp2_cid_init(ngtcp2_cid *cid, const uint8_t *data, size_t datalen)

ngtcp2_cid_init() initializes Connection ID cid with the byte string pointed by data and its length is datalen. datalen must be at most NGTCP2_MAX_CIDLEN.