up: IO     index Zimbu documentation

INTERFACE IO.I_ByteWriter @public

summary

     

An interface for any class that can write a byte.

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

$writeByte(byte) status @file  Writes one byte byte.
 
Known implementing classes:
     
 

members (alphabetically)

     

FUNC $writeByte(int byte) status @abstract @file

     

Writes one byte byte.

Only the lower 8 bits of byte are used, the rest is ignored. Returns FAIL when the byte could not be written.

license

      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