nghttp3_buf_left

Synopsis

#include <nghttp3/nghttp3.h>

size_t nghttp3_buf_left(const nghttp3_buf *buf)

nghttp3_buf_left() returns the number of additional bytes which can be written to the underlying buffer. In other words, it returns buf->end - buf->last.