| 87 | } |
| 88 | |
| 89 | std::string CircularBuffer::ReadStringZ() |
| 90 | { |
| 91 | //std::cerr << " ReadStringZ\n"; |
| 92 | |
| 93 | std::string message; |
| 94 | while (auto ch = Read()) |
| 95 | { |
| 96 | message.push_back(ch); |
| 97 | } |
| 98 | //std::cerr << " ReadStringZ done\n"; |
| 99 | return message; |
| 100 | } |
| 101 | |
| 102 | void CircularBuffer::WriteStringZ(const char* message) |
| 103 | { |