nghttp3_buf_len

Synopsis

#include <nghttp3/nghttp3.h>

size_t nghttp3_buf_len(const nghttp3_buf *buf)

nghttp3_buf_len() returns the number of bytes left to read. In other words, it returns buf->last - buf->pos.