diff options
Diffstat (limited to 'src/unstable/blob.h')
-rw-r--r-- | src/unstable/blob.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 | |||
46 | Blob( int32_t iSize ); | 46 | Blob( int32_t iSize ); |
47 | Blob( const const_iterator &iStart ); | 47 | Blob( const const_iterator &iStart ); |
48 | Blob( const const_iterator &iStart, const const_iterator &iEnd ); | 48 | Blob( const const_iterator &iStart, const const_iterator &iEnd ); |
49 | |||
50 | // Obviously temporary | ||
51 | Blob( const Bu::String &rSrc ); | ||
49 | virtual ~Blob(); | 52 | virtual ~Blob(); |
50 | 53 | ||
51 | void setSize( int32_t iSize ); | 54 | void setSize( int32_t iSize ); |
52 | int32_t getSize() const; | 55 | int32_t getSize() const; |
56 | void setData( const char *pSrc, int32_t iSize ); | ||
53 | char *getData() const; | 57 | char *getData() const; |
54 | char *c_str() const; | 58 | char *c_str() const; |
55 | 59 | ||
@@ -184,6 +188,7 @@ namespace Bu | |||
184 | 188 | ||
185 | class Formatter; | 189 | class Formatter; |
186 | Formatter &operator<<( Formatter &rOut, const Blob &b ); | 190 | Formatter &operator<<( Formatter &rOut, const Blob &b ); |
191 | Formatter &operator>>( Formatter &fIn, Blob &b ); | ||
187 | } | 192 | } |
188 | 193 | ||
189 | #endif | 194 | #endif |