diff options
author | Robert Hensing <robert@roberthensing.nl> | 2020-09-13 14:39:11 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2020-09-17 20:21:04 +0200 |
commit | 29c82ccc77714a74e8948ce8c531de5a8d870176 (patch) | |
tree | 297197aa68cd1740b3ec000e3af1b83a179a1fe2 /src/libutil/serialise.hh | |
parent | 9ee3122ec71ae43f5cd8bf0a9282777ba17342c5 (diff) |
Add Source.drainInto(Sink)
Diffstat (limited to 'src/libutil/serialise.hh')
-rw-r--r-- | src/libutil/serialise.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/serialise.hh b/src/libutil/serialise.hh index 6f4f4c855..2fd06bb4d 100644 --- a/src/libutil/serialise.hh +++ b/src/libutil/serialise.hh @@ -69,6 +69,8 @@ struct Source virtual bool good() { return true; } + void drainInto(Sink & sink); + std::string drain(); }; |