aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/blobbuilder.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unstable/blobbuilder.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/unstable/blobbuilder.h b/src/unstable/blobbuilder.h
index c1dbed1..9b5e390 100644
--- a/src/unstable/blobbuilder.h
+++ b/src/unstable/blobbuilder.h
@@ -24,9 +24,11 @@ namespace Bu
24 class Chunk 24 class Chunk
25 { 25 {
26 public: 26 public:
27 Chunk(); 27 Chunk( const char *pSrc, int32_t iLength );
28 ~Chunk(); 28 ~Chunk();
29 29
30 void append( const char *&pSrc, int32_t &iLength );
31
30 int32_t iLength; 32 int32_t iLength;
31 char *pData; 33 char *pData;
32 Chunk *pNext; 34 Chunk *pNext;
@@ -37,7 +39,8 @@ namespace Bu
37 virtual ~BlobBuilderCore(); 39 virtual ~BlobBuilderCore();
38 40
39 void clear(); 41 void clear();
40 void append( const *pSrc, int32_t iLength ); 42 void append( const char *pSrc, int32_t iLength );
43 void set( const char *pSrc, int32_t iLength );
41 44
42 Chunk *pFirst; 45 Chunk *pFirst;
43 Chunk *pLast; 46 Chunk *pLast;