From fd56cdd21a7c9c944ad189cf91ff24d3c2b0f975 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 20 Apr 2022 14:04:47 -0700 Subject: Gradually moving to better archive structure. It's dragging other new API changes along with it, including use of Blob and Text. --- src/stable/membuf.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/stable/membuf.cpp') 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() return sBuf; } +Bu::Blob Bu::MemBuf::getBlob() +{ + return Bu::Blob( sBuf.getStr(), sBuf.getSize() ); +} + void Bu::MemBuf::setString( const Bu::String &sNewData ) { sBuf = sNewData; -- cgit v1.2.3