diff options
Diffstat (limited to 'src/stable/membuf.cpp')
-rw-r--r-- | src/stable/membuf.cpp | 5 |
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 | ||
172 | Bu::Blob Bu::MemBuf::getBlob() | ||
173 | { | ||
174 | return Bu::Blob( sBuf.getStr(), sBuf.getSize() ); | ||
175 | } | ||
176 | |||
172 | void Bu::MemBuf::setString( const Bu::String &sNewData ) | 177 | void Bu::MemBuf::setString( const Bu::String &sNewData ) |
173 | { | 178 | { |
174 | sBuf = sNewData; | 179 | sBuf = sNewData; |