diff options
Diffstat (limited to 'src/unstable/blob.h')
-rw-r--r-- | src/unstable/blob.h | 8 |
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 | ||
13 | namespace Bu | 13 | namespace 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 | */ |