19 #include <uuid/console.h>
35 if (blocking_data->consume_line_feed_) {
36 const int input =
stream_.peek();
39 const unsigned char c = input;
41 blocking_data->consume_line_feed_ =
false;
65 const int input =
stream_.read();
68 const unsigned char c = input;
70 if (blocking_data->consume_line_feed_) {
71 blocking_data->consume_line_feed_ =
false;
93 const int input =
stream_.peek();
95 if (blocking_data->consume_line_feed_) {
97 const unsigned char c = input;
99 blocking_data->consume_line_feed_ =
false;
101 if (
previous_ ==
'\x0D' && c ==
'\x0A') {
121 return stream_.write(buffer, size);