Appender that writes to the end of an IOBufQueue.
Synopsis
Declared in <folly/io/Cursor.h>
class QueueAppender
: public Writable<QueueAppender>
Base Classes
Name |
Description |
Mixin providing write operations for cursor types. |
Member Functions
Name |
Description |
|
Constructors |
Append n bytes. |
|
Ensure that there are at least n contiguous bytes available for writing. |
|
Ensures up to n contiguous bytes available, without surpassing maxGrowth_. |
|
|
|
Get the size of the writable tail. |
|
|
|
|
|
|
|
Get a RWCursor for the last n bytes of this IOBufQueue. |
|
Remove n bytes from the end of this IOBufQueue. |
|
Get a pointer to the writable tail. |
|
|
|
|
|
|
|
Get a RWCursor for this IOBufQueue. |
Using Declarations
Name |
Description |
Inherit the base ByteRange and Cursor overloads of pushAtMost. |
Created with MrDocs