data-out: Make each converter responsible for storing null terminator.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 19 Feb 2011 06:30:00 +0000 (22:30 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 20 Feb 2011 00:57:02 +0000 (16:57 -0800)
Until now, every converter has produced output that is exactly as many
bytes long as the format's width.  In upcoming patches this will change,
because in UTF-8 a character that occupies a single display column can
require multiple bytes.  In preparation, this commit requires the
individual converters to write out their own null byte, giving a bit
more flexibility regarding length.


No differences found