core :: Writer :: write_char
# Write a single char
fun write_char(c: Char) do
var ln = codec.add_char_to(c, write_buffer)
write_bytes_from_cstring(write_buffer, ln)
end
lib/core/stream.nit:537,2--541,4
redef fun write_char(c)
do
if closed then return
bytes.add_char c
end
lib/core/stream.nit:648,2--652,4