Commit c39c2590 authored by Max Kellermann's avatar Max Kellermann

fs/io/BufferedOutputStream: add Write(char)

parent a571c4ba
......@@ -42,6 +42,11 @@ public:
:os(_os), buffer(32768) {}
void Write(const void *data, size_t size);
void Write(const char &ch) {
Write(&ch, sizeof(ch));
}
void Write(const char *p);
gcc_printf(2,3)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment