writeCharLiteral

Write a character, using a readable escape sequence if needed

Useful for printing "" string literals in e.g. error messages, ddoc, or the .stringof property

nothrow
void
writeCharLiteral
(,
dchar c
)

Parameters

buf OutBuffer

buffer to append character in

c dchar

code point to write

Meta