folly::IOBuf::getUserData

Get userData.

Synopsis

Declared in <folly/io/IOBuf.h>

void*
getUserData() const noexcept;

Description

userData is the optional constructor argument which will be passed to the FreeFunction.

methodset Buffer Management

Return Value

A non-owning pointer to userData if set, else nullptr