From 9fc845c1746a83afc4e847895913851576945000 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 9 Aug 2023 13:00:19 -0700 Subject: Added a temporory String -> Blob constructor. Just to ease the transition. --- src/unstable/blob.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/unstable/blob.h') diff --git a/src/unstable/blob.h b/src/unstable/blob.h index 2866ab2..2a665ad 100644 --- a/src/unstable/blob.h +++ b/src/unstable/blob.h @@ -46,10 +46,14 @@ namespace Bu Blob( int32_t iSize ); Blob( const const_iterator &iStart ); Blob( const const_iterator &iStart, const const_iterator &iEnd ); + + // Obviously temporary + Blob( const Bu::String &rSrc ); virtual ~Blob(); void setSize( int32_t iSize ); int32_t getSize() const; + void setData( const char *pSrc, int32_t iSize ); char *getData() const; char *c_str() const; @@ -184,6 +188,7 @@ namespace Bu class Formatter; Formatter &operator<<( Formatter &rOut, const Blob &b ); + Formatter &operator>>( Formatter &fIn, Blob &b ); } #endif -- cgit v1.2.3