HMRES_readbinaryint2()

Reads a 2-byte integer from a binary file opened with HMRES_openinputfile(). It pays attention to the cross-platform flags and does a conversion on the number, making it understandable to the machine on which the program is running.

Syntax

int HMRES_readbinaryint2(FILE *file);

Type

HyperMesh hmreslib Function

Description

Reads a 2-byte integer from a binary file opened with HMRES_openinputfile(). It pays attention to the cross-platform flags and does a conversion on the number, making it understandable to the machine on which the program is running.

Inputs

file
The binary file containing the 2-byte integer to be read.

Example

The value of the 2-byte integer.

Errors

None.