From 26aa4bd668a2f2358b03634bce78c58085f14164 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 25 May 2019 23:04:09 -0700 Subject: 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. --- src/unstable/blob.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/unstable/blob.h') 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 @@ #ifndef BU_BLOB_H #define BU_BLOB_H -#include +#include "bu/config.h" namespace Bu { @@ -19,6 +19,12 @@ namespace Bu * choice when dealing with any sequence of binary data that you don't * need to interpret further. * + * You may note that Blob doesn't have any append, prepend, etc. methods. + * This is because Blobs are designed to be more or less immutable. If you + * need that functionality (which is quite likely), check out + * Bu::BlobBuilder which offers a flexible, fast interface to build Blobs + * dynamically, piece at a time. + * * If you're dealing with data that contains language, such as human text, * then use the Bu::Text class instead. */ -- cgit v1.2.3