aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar vjpai <vpai@google.com>2015-11-30 15:52:50 -0800
committerGravatar vjpai <vpai@google.com>2015-11-30 15:52:50 -0800
commitb6df94ad220b9e48d306150184848db614cc3506 (patch)
treea99dd2bc971f3851160bb04efc9a368d2bf2577a /include
parent1505b69e9f11075cd4292044f6f6b56412a746e2 (diff)
WIP
Diffstat (limited to 'include')
-rw-r--r--include/grpc++/support/byte_buffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/grpc++/support/byte_buffer.h b/include/grpc++/support/byte_buffer.h
index 9d19b07708..6f29bdfcd5 100644
--- a/include/grpc++/support/byte_buffer.h
+++ b/include/grpc++/support/byte_buffer.h
@@ -66,6 +66,9 @@ class ByteBuffer GRPC_FINAL {
/// Buffer size in bytes.
size_t Length() const;
+ /// Move contents from \a bbuf and clear \a bbuf
+ void MoveFrom(ByteBuffer* bbuf);
+
private:
friend class SerializationTraits<ByteBuffer, void>;