up: IO     index Zimbu documentation

INTERFACE IO.I_CharWriter @public



An interface for any class that can write a character.

Can be implemented to write one character at a time to a file, to a string, etc.

$writeChar(char) status @file  Writes one UTF-8 character char.
Known implementing classes:

members (alphabetically)


FUNC $writeChar(int char) status @abstract @file


Writes one UTF-8 character char.

Throws E.OutOfRange when char is < 0 or > 0x10ffff. Returns FAIL when the character could not be written.


      Copyright 2009 Bram Moolenaar All Rights Reserved.

      Licensed under the Apache License, Version 2.0. See the LICENSE file or obtain a copy at: http://www.apache.org/licenses/LICENSE-2.0