folly::IOBufFactory

Callable that creates an IOBuf with the requested capacity.

Synopsis

Declared in <folly/io/IOBuf.h>

using IOBufFactory = Function<std::unique_ptr<IOBuf>(size_t)>;