![]() |
LIRC libraries
LinuxInfraredRemoteControl
|
After appending, data can be retrieved as lines. More...
#include <line_buffer.h>
Public Member Functions | |
void | append (const char *line, size_t size) |
Insert data in buffer. | |
bool | has_lines () |
Check if get_next_line() returns a non-empty string. | |
const char * | c_str () |
Peek the complete buffer contents. | |
std::string | get_next_line () |
Return and remove first line in buffer, possibly "". | |
After appending, data can be retrieved as lines.
Definition at line 23 of file line_buffer.h.