ngtcp2_conn_write_stream

Synopsis

#include <ngtcp2/ngtcp2.h>

ngtcp2_ssize ngtcp2_conn_write_stream(ngtcp2_conn *conn, ngtcp2_path *path, ngtcp2_pkt_info *pi, uint8_t *dest, size_t destlen, ngtcp2_ssize *pdatalen, uint32_t flags, int64_t stream_id, const uint8_t *data, size_t datalen, ngtcp2_tstamp ts)

ngtcp2_conn_write_stream() is just like ngtcp2_conn_writev_stream(). The only difference is that it conveniently accepts a single buffer.