projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add convenience functions to serialize to / deserialize from string
[folly.git]
/
folly
/
io
/
IOBufQueue.h
diff --git
a/folly/io/IOBufQueue.h
b/folly/io/IOBufQueue.h
index cbc11376a993e731533c7c13e969963141079dbc..73046f52c85fac465a1363764d93eba83edcc0f4 100644
(file)
--- a/
folly/io/IOBufQueue.h
+++ b/
folly/io/IOBufQueue.h
@@
-261,6
+261,11
@@
class IOBufQueue {
*/
void clear();
+ /**
+ * Append the queue to a std::string. Non-destructive.
+ */
+ void appendToString(std::string& out) const;
+
/** Movable */
IOBufQueue(IOBufQueue&&) noexcept;
IOBufQueue& operator=(IOBufQueue&&);