ngtcp2_transport_params_encode ============================== Synopsis -------- *#include * .. function:: ngtcp2_ssize ngtcp2_transport_params_encode( uint8_t *dest, size_t destlen, const ngtcp2_transport_params *params) `ngtcp2_transport_params_encode` encodes *params* in *dest* of length *destlen*. If *dest* is NULL, and *destlen* is zero, this function just returns the number of bytes required to store the encoded transport parameters. This function returns the number of bytes written, or one of the following negative error codes: :macro:`NGTCP2_ERR_NOBUF` Buffer is too small.