Predefined I/O Modules. * \ingroup binfile
Changes the file byte order. Returns the old one. * \ingroup binfile
Closes the file. * \ingroup binfile
Indicates that the file pointer is at the end of the file. * \ingroup binfile
Indicates that was an error on the last operation. * \ingroup binfile
Creates a new binary file for writing. * The default file byte order is the CPU byte order. * Returns NULL if failed. * \ingroup binfile
Opens an existant binary file for reading. * The default file byte order is the CPU byte order. * Returns NULL if failed. * \ingroup binfile
Writes a string without the NULL terminator. The function uses sprintf to compose the string. \n * The internal buffer is fixed at 4096 bytes. \n * Returns the actual count of values writen. * \ingroup binfile
Reads an array of count values with byte sizes: 1, 2, 4, or 8. And invert the byte order if necessary after read. \n * Returns the actual count of values read. * \ingroup binfile
Reads an integer number from the current position until found a non integer character. * Returns a non zero value if sucessfull. * \ingroup binfile
Reads a line until line break. \n * Returns the line in array, must have room enough. Line break is discarted. \n * Use *size to inform buffer size. *size return the actual number os characters read. * \ingroup binfile
Reads an floating point number from the current position until found a non number character. * Returns a non zero value if sucessfull. * \ingroup binfile
Moves the file pointer from the end of the file.\n * The offset is usually a negative value. * \ingroup binfile
Moves the file pointer from current position.\n * If the offset is a negative value the pointer moves backwards. * \ingroup binfile
Moves the file pointer from the begining of the file.\n * When writing to a file seeking can go beyond the end of the file. * \ingroup binfile
Sets the current I/O module. * \returns the previous function set, or -1 if failed. * See also \ref imBinFileModule. * \ingroup binfile
Returns the file size in bytes. * \ingroup binfile
Skips a line, including line break. * \ingroup binfile
Returns the current offset position. * \ingroup binfile
Writes an array of values with sizes: 1, 2, 4, or 8. And invert the byte order if necessary before write.\n * <b>ATENTION</b>: The function will not make a temporary copy of the values to invert the byte order.\n * So after the call the values will be invalid, if the file byte order is diferent from the CPU byte order. \n * Returns the actual count of values writen. * \ingroup binfile
Release the internal memory allocated when writing a Memory File (see \ref imBinMemoryFileName). * \ingroup binfile
\brief Binary File Structure (Private). * \ingroup binfile
\brief Memory File Filename Parameter Structure * * \par * Fake file name for the memory I/O module. * \ingroup binfile
\file \brief Binary File Access.
See Copyright Notice in im_lib.d