aboutsummaryrefslogtreecommitdiff
path: root/src/stable/membuf.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stable/membuf.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stable/membuf.cpp b/src/stable/membuf.cpp
index 040c0c6..fff3027 100644
--- a/src/stable/membuf.cpp
+++ b/src/stable/membuf.cpp
@@ -169,6 +169,11 @@ Bu::String &Bu::MemBuf::getString()
169 return sBuf; 169 return sBuf;
170} 170}
171 171
172Bu::Blob Bu::MemBuf::getBlob()
173{
174 return Bu::Blob( sBuf.getStr(), sBuf.getSize() );
175}
176
172void Bu::MemBuf::setString( const Bu::String &sNewData ) 177void Bu::MemBuf::setString( const Bu::String &sNewData )
173{ 178{
174 sBuf = sNewData; 179 sBuf = sNewData;