nghttp3_rcbuf_is_static

Synopsis

#include <nghttp3/nghttp3.h>

int nghttp3_rcbuf_is_static(const nghttp3_rcbuf *rcbuf)

nghttp3_rcbuf_is_static() returns nonzero if the underlying buffer is statically allocated, and 0 otherwise. This can be useful for language bindings that wish to avoid creating duplicate strings for these buffers.