Costa Tsaousis f739ab110b allow debugging memory per module (#4524) 6 years ago
..
Makefile.am 8fbf817ef8 modularized all source code (#4391) 6 years ago
README.md 8fbf817ef8 modularized all source code (#4391) 6 years ago
buffer.c f739ab110b allow debugging memory per module (#4524) 6 years ago
buffer.h 8fbf817ef8 modularized all source code (#4391) 6 years ago

README.md

BUFFER

BUFFER is a convenience library for working with strings in C. Mainly, BUFFERs 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 BUFFERs for preparing web responses and buffering data to be sent upstream or to backend databases.