summaryrefslogtreecommitdiffstats
path: root/libnetdata/buffer/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'libnetdata/buffer/README.md')
-rw-r--r--libnetdata/buffer/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/libnetdata/buffer/README.md b/libnetdata/buffer/README.md
new file mode 100644
index 000000000..a7cfef89d
--- /dev/null
+++ b/libnetdata/buffer/README.md
@@ -0,0 +1,11 @@
+# BUFFER
+
+`BUFFER` is a convenience library for working with strings in `C`.
+Mainly, `BUFFER`s eliminate the need for tracking the string length, thus providing
+a safe alternative for string operations.
+
+Also, they are super fast in printing and appending data to the string and its `buffer_strlen()`
+is just a lookup (it does not traverse the string).
+
+Netdata uses `BUFFER`s for preparing web responses and buffering data to be sent upstream or
+to backend databases. \ No newline at end of file