Chris Akritidis aef3f517a5 Libnetdata readmes learn (#14416) 2 лет назад
..
Makefile.am 675383b26a Makefile.am files indentation (#7252) 5 лет назад
README.md aef3f517a5 Libnetdata readmes learn (#14416) 2 лет назад
buffer.c 9232bfb6a0 track memory footprint of Netdata (#14294) 2 лет назад
buffer.h 9232bfb6a0 track memory footprint of Netdata (#14294) 2 лет назад

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 external databases.