diff options
author | eichlan <eichlan@raspberry> | 2019-06-24 16:10:03 -0700 |
---|---|---|
committer | eichlan <eichlan@raspberry> | 2019-06-24 16:10:03 -0700 |
commit | bfc1e2d595452c068a2b66be1436aa34f1083f3d (patch) | |
tree | 00d5d22b733348c555f0f36cd7b3b545a729874a /src/unstable/blobbuilder.h | |
parent | f79794995d0cfe0af59737f9c7dba683a1ccfe84 (diff) | |
download | libbu++-bfc1e2d595452c068a2b66be1436aa34f1083f3d.tar.gz libbu++-bfc1e2d595452c068a2b66be1436aa34f1083f3d.tar.bz2 libbu++-bfc1e2d595452c068a2b66be1436aa34f1083f3d.tar.xz libbu++-bfc1e2d595452c068a2b66be1436aa34f1083f3d.zip |
Bu::BlobBuilder compiles & is closer to working...
Diffstat (limited to 'src/unstable/blobbuilder.h')
-rw-r--r-- | src/unstable/blobbuilder.h | 7 |
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; |