Mercurial > hg > orthanc
diff Core/ChunkedBuffer.h @ 3385:f5467ab24aa4
ChunkedBuffer::AddChunkDestructive()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 03 Jun 2019 10:30:14 +0200 |
parents | 4e43e67f8ecf |
children | 94f4a18a79cc |
line wrap: on
line diff
--- a/Core/ChunkedBuffer.h Wed May 29 18:12:28 2019 +0200 +++ b/Core/ChunkedBuffer.h Mon Jun 03 10:30:14 2019 +0200 @@ -67,6 +67,9 @@ void AddChunk(const std::string& chunk); + // The source content will be emptied + void AddChunkDestructive(std::string& chunk); + void Flatten(std::string& result); }; }