String buffer for loading partial data in, and pulling full strings out.

Useful for buffering input from users via terminal, or from peripheral devices such as modems. Data can be loaded in a byte at a time, or in chunks. When the terminating sequence is found the entire string can be extracted from the buffer, while leaving any additional characters for additional strings alone. ...

Sign Up For Full Access
Members gain full access to the Prosource library with dozens of source files for ARM Cortex, ATMega, PIC processors as well as desktop and embedded Linux systems. Solutions for bootloaders, Buildroot and Yocto targets as well as guided articles on embedded development to gain critical knowledge in new systems and speed up development.
Language:ANSI C
Files size: 8.29 KB
RAM usage:Not Set
Avg Flash:16 bytes for each buffer + buffer size
Source #1 - Members Only
Source #2 - Members Only
Source #3 - Members Only