binio-fputint


Synopsis

(binio-fputint <ostream> <int>|<list-of-ints>)

Description

Writes a single integer (signed 2 byte short in Intel order) or a list of integers to an open output stream, opened with (binio-fopen fn "w"), (binio-fopen fn "rw") or (binio-fopen fn "a")

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

Arguments

ostream: internal object representation of a binary file, opened for output.

int: either a single integer or a list of integers

Return Value

Currently unspecified

Side Effects

Writes data to an open stream and advances the file pointer by 2 bytes or multiples.

Module

(std-require-external 'BINIO)

Defined in BINIO