20 std::function<std::unique_ptr<folly::IOBuf>(
size_t len,
size_t bufNum)>;
23 std::unique_ptr<folly::IOBuf>
27 std::unique_ptr<folly::IOBuf> input,
std::function< std::unique_ptr< folly::IOBuf >(size_t len, size_t bufNum)> BufCreator
std::unique_ptr< folly::IOBuf > toIOBuf(std::string hexData, size_t headroom, size_t tailroom)
std::unique_ptr< IOBuf > chunkIOBuf(std::unique_ptr< IOBuf > input, size_t chunks, BufCreator creator)