binio-fgetc


Synopsis

(binio-fgetc <istream>)

Description

Reads a single byte from an open input stream, opened with (binio-fopen fn "r"). Like read-char but accepts 0x0 too.

Dependant on an external library: so far only binio.fas for ViLL or vlisp

Arguments

istream: internal object representation of a binary file, opened for input.

Return Value

An integer or nil on EOF

Side Effects

Advances the file pointer by one byte.

Module

(std-require-external 'BINIO)

Defined in BINIO