binio-rewind


Synopsis

(binio-rewind <stream>)

Description

Moves the file pointer of stream to the start of the file so that the next binio- reading or writing function starts at position 0 again.

Same as (binio-fseek f 0)

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

Arguments

stream: internal object representation of a opened binary file.

Return Value

Either 0 or nil on any non-serious error. (when nil?)

Side Effects

Moves the actual file pointer position of the start of the open stream so that the next binio-fget or binio-fput function reads from or writes to the start again.

Module

(std-require-external 'BINIO)

Defined in BINIO