aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/blobbuilder.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2019-06-18 18:39:38 -0700
committerMike Buland <eichlan@xagasoft.com>2019-06-18 18:39:38 -0700
commitf79794995d0cfe0af59737f9c7dba683a1ccfe84 (patch)
tree48eb6b937c2bbdb3f54cfc5db5f1677420b14043 /src/unstable/blobbuilder.h
parent8ba8268b51081b3b7d34da8fcec14d58b53f6d47 (diff)
downloadlibbu++-f79794995d0cfe0af59737f9c7dba683a1ccfe84.tar.gz
libbu++-f79794995d0cfe0af59737f9c7dba683a1ccfe84.tar.bz2
libbu++-f79794995d0cfe0af59737f9c7dba683a1ccfe84.tar.xz
libbu++-f79794995d0cfe0af59737f9c7dba683a1ccfe84.zip
Doens't build yet, but the BlobBuilder is in progress.
Diffstat (limited to 'src/unstable/blobbuilder.h')
-rw-r--r--src/unstable/blobbuilder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unstable/blobbuilder.h b/src/unstable/blobbuilder.h
index 5416cb4..c1dbed1 100644
--- a/src/unstable/blobbuilder.h
+++ b/src/unstable/blobbuilder.h
@@ -37,6 +37,7 @@ namespace Bu
37 virtual ~BlobBuilderCore(); 37 virtual ~BlobBuilderCore();
38 38
39 void clear(); 39 void clear();
40 void append( const *pSrc, int32_t iLength );
40 41
41 Chunk *pFirst; 42 Chunk *pFirst;
42 Chunk *pLast; 43 Chunk *pLast;
@@ -66,6 +67,8 @@ namespace Bu
66 void clear(); 67 void clear();
67 int32_t getSize() const; 68 int32_t getSize() const;
68 69
70 Blob getBlob() const;
71
69 BlobBuilder &operator=( const Blob &rSrc ); 72 BlobBuilder &operator=( const Blob &rSrc );
70 BlobBuilder &operator=( const char *pSrc ); 73 BlobBuilder &operator=( const char *pSrc );
71 BlobBuilder &operator+=( const Blob &rSrc ); 74 BlobBuilder &operator+=( const Blob &rSrc );