fs/io/BufferedOutputStream: add Write(char)
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann