folly::io::Writable

Mixin providing write operations for cursor types.

Synopsis

Declared in <folly/io/Cursor.h>

template<class Derived>
class Writable;

Member Functions

NameDescription
push push overloads
pushAtMost pushAtMost overloads
write write overloads
writeBE writeBE overloads
writeLE writeLE overloads

Derived Classes

NameDescription
Appender Append to the end of a buffer chain, growing the chain (by allocating new buffers) in increments of at least growth bytes every time. Won't grow (and push() and ensure() will throw) if growth == 0.
QueueAppender Appender that writes to the end of an IOBufQueue.
RWCursor Read-write cursor over an IOBuf chain.