nng_msg_clear

NAME

nng_msg_clear — clear message body content

SYNOPSIS

#include <nng/nng.h>

void nng_msg_clear(nng_msg *msg);

DESCRIPTION

The nng_msg_clear() function resets the body length of msg to zero.

SEE ALSO

nng_msg_alloc, nng_msg_capacity, nng_msg_reserve