nghttp3_get_uvarintlen

Synopsis

#include <nghttp3/nghttp3.h>

size_t nghttp3_get_uvarintlen(const uint8_t *p)

nghttp3_get_uvarintlen() returns the required number of bytes to read variable-length unsigned integer starting at p. p must not be NULL. This function only reads the single byte from the buffer pointed by p, and determines the number of bytes to read.

Added in version 1.17.0.