1.1 --- a/src/common/buffer.h Mon Jun 08 16:43:21 2009 +0200
1.2 +++ b/src/common/buffer.h Thu Aug 13 09:36:16 2009 +0200
1.3 @@ -487,6 +487,12 @@
1.4 int32_t GetCurrentStartOffset (void) const;
1.5 int32_t GetCurrentEndOffset (void) const;
1.6
1.7 + /**
1.8 + * Copy the specified amount of data from the buffer to the given output stream.
1.9 + *
1.10 + * @param os the output stream
1.11 + * @param size the maximum amount of bytes to copy. If zero, nothing is copied.
1.12 + */
1.13 void CopyData (std::ostream *os, uint32_t size) const;
1.14
1.15 Buffer (Buffer const &o);