folly::TypedIOBuf::TypedIOBuf

Constructors

Synopses

Declared in <folly/io/TypedIOBuf.h>

Move constructor.

TypedIOBuf(TypedIOBuf&& other) = default;
» more...

Constructs a typed view over the given IOBuf.

explicit
TypedIOBuf(IOBuf* buf);
» more...

Parameters

NameDescription
otherThe buffer view to move from.
bufThe IOBuf to view as a typed buffer.