binio-fgetint


Synopsis

(binio-fgetint <istream>)

Description

Reads a integer number (signed 2 byte short in Intel order ) from an open input stream, opened with (binio-fopen fn "r")

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 two bytes.

Module

(std-require-external 'BINIO)

Defined in BINIO