fs/io/BufferedOutputStream: add Write(char)

This commit is contained in:
Max Kellermann 2016-09-04 12:05:11 +02:00
parent a571c4ba33
commit c39c259078

View File

@ -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)