up: IO     index Zimbu documentation

INTERFACE IO.I_ByteReader @public



An interface for any class that can read a byte.

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

$readByte() int @file  Reads and returns one byte.
Known implementing classes:

members (alphabetically)


FUNC $readByte() int @abstract @file


Reads and returns one byte.

When there is nothing to read returns IO.eof.


      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