aboutsummaryrefslogtreecommitdiff
path: root/src/membuf.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-02-16 03:35:41 +0000
committerMike Buland <eichlan@xagasoft.com>2012-02-16 03:35:41 +0000
commit255bd27d4e26d2e5cef9ad4d57bb9c18bc986c67 (patch)
tree0d207452a5e819d5ee5710e37ed3943c38fff9bf /src/membuf.h
parent7d7bd049ed6815d3d2bac03331ff56102d224580 (diff)
downloadlibbu++-255bd27d4e26d2e5cef9ad4d57bb9c18bc986c67.tar.gz
libbu++-255bd27d4e26d2e5cef9ad4d57bb9c18bc986c67.tar.bz2
libbu++-255bd27d4e26d2e5cef9ad4d57bb9c18bc986c67.tar.xz
libbu++-255bd27d4e26d2e5cef9ad4d57bb9c18bc986c67.zip
Added MemBuf docs and a new readAll function to the base stream class.
More helpers never really hurt.
Diffstat (limited to 'src/membuf.h')
-rw-r--r--src/membuf.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/membuf.h b/src/membuf.h
index d98a29c..544dc83 100644
--- a/src/membuf.h
+++ b/src/membuf.h
@@ -17,7 +17,12 @@
17namespace Bu 17namespace Bu
18{ 18{
19 /** 19 /**
20 * A memory buffer stream. 20 * A memory buffer stream. This provides a read/write stream in memory that
21 * works exactly like a file stream...only in memory. You can seed the
22 * memory buffer with a Bu::String of your own, or start with an empty one.
23 * Due to Bu::String using Bu::SharedCore starting with a string will not
24 * necesarilly cause the MemBuf to make a copy of your memory, but if you're
25 * sure you're not going to need to change the stream then use StaticMemBuf.
21 *@ingroup Streams 26 *@ingroup Streams
22 */ 27 */
23 class MemBuf : public Stream 28 class MemBuf : public Stream