ngtcp2_conn_encode_local_transport_params2 ========================================== Synopsis -------- *#include * .. function:: ngtcp2_ssize ngtcp2_conn_encode_local_transport_params2( const ngtcp2_conn *conn, uint8_t *dest, size_t destlen) `ngtcp2_conn_encode_local_transport_params2` encodes the local QUIC transport parameters in *dest* of length *destlen*. This function returns the number of bytes written, or one of the following negative error codes: :macro:`NGTCP2_ERR_NOBUF` Buffer is too small. .. version-added:: 1.23.0