type quicly_cid_t* {.bycopy.} = object cid*: array[20, uint8] len*: uint8 quicly_cid_plaintext_t* {.bycopy.} = object master_id*: uint32 path_id* {.bitsize: 8.}: uint32 thread_id* {.bitsize: 24.}: uint32 node_id*: uint64 quicly_cid_encryptor_t* {.bycopy.} = object encrypt_cid*: proc (self: ptr quicly_cid_encryptor_t; encrypted: ptr quicly_cid_t; stateless_reset_token: pointer; plaintext: ptr quicly_cid_plaintext_t) {.cdecl.} decrypt_cid*: proc (self: ptr quicly_cid_encryptor_t; plaintext: ptr quicly_cid_plaintext_t; encrypted: pointer; len: csize_t): csize_t {.cdecl.} generate_stateless_reset_token*: proc (self: ptr quicly_cid_encryptor_t; token: pointer; cid: pointer): cint {.cdecl.}