aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/blob.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2019-05-25 23:04:09 -0700
committerMike Buland <eichlan@xagasoft.com>2019-05-25 23:04:09 -0700
commit26aa4bd668a2f2358b03634bce78c58085f14164 (patch)
tree49ddbcfec9af34e0a49d00614d7437c39988b7ef /src/unstable/blob.h
parent3a27454dca4a16d021a4d418f0725adccc5baabb (diff)
downloadlibbu++-26aa4bd668a2f2358b03634bce78c58085f14164.tar.gz
libbu++-26aa4bd668a2f2358b03634bce78c58085f14164.tar.bz2
libbu++-26aa4bd668a2f2358b03634bce78c58085f14164.tar.xz
libbu++-26aa4bd668a2f2358b03634bce78c58085f14164.zip
Started work on the SharedCore BlobBuilder.
This will contain everything that made Bu::String flexible and fast when building, and a nightmare for multi-threaded programming.
Diffstat (limited to 'src/unstable/blob.h')
-rw-r--r--src/unstable/blob.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/unstable/blob.h b/src/unstable/blob.h
index daee5f9..b48f488 100644
--- a/src/unstable/blob.h
+++ b/src/unstable/blob.h
@@ -8,7 +8,7 @@
8#ifndef BU_BLOB_H 8#ifndef BU_BLOB_H
9#define BU_BLOB_H 9#define BU_BLOB_H
10 10
11#include <stdint.h> 11#include "bu/config.h"
12 12
13namespace Bu 13namespace Bu
14{ 14{
@@ -19,6 +19,12 @@ namespace Bu
19 * choice when dealing with any sequence of binary data that you don't 19 * choice when dealing with any sequence of binary data that you don't
20 * need to interpret further. 20 * need to interpret further.
21 * 21 *
22 * You may note that Blob doesn't have any append, prepend, etc. methods.
23 * This is because Blobs are designed to be more or less immutable. If you
24 * need that functionality (which is quite likely), check out
25 * Bu::BlobBuilder which offers a flexible, fast interface to build Blobs
26 * dynamically, piece at a time.
27 *
22 * If you're dealing with data that contains language, such as human text, 28 * If you're dealing with data that contains language, such as human text,
23 * then use the Bu::Text class instead. 29 * then use the Bu::Text class instead.
24 */ 30 */