fs/io/BufferedOutputStream: add Write(char)
This commit is contained in:
parent
a571c4ba33
commit
c39c259078
@ -42,6 +42,11 @@ public:
|
|||||||
:os(_os), buffer(32768) {}
|
:os(_os), buffer(32768) {}
|
||||||
|
|
||||||
void Write(const void *data, size_t size);
|
void Write(const void *data, size_t size);
|
||||||
|
|
||||||
|
void Write(const char &ch) {
|
||||||
|
Write(&ch, sizeof(ch));
|
||||||
|
}
|
||||||
|
|
||||||
void Write(const char *p);
|
void Write(const char *p);
|
||||||
|
|
||||||
gcc_printf(2,3)
|
gcc_printf(2,3)
|
||||||
|
Loading…
Reference in New Issue
Block a user