Main Page | Modules | Class List | File List | Class Members | File Members

endian_io.c File Reference

#include <gandalf/common/endian_io.h>
#include <gandalf/common/misc_error.h>
#include <gandalf/config.h>

Functions

Gan_Bool gan_fread_lendian_i16 (FILE *fp, gan_int16 *ai16, size_t nitems)
 Reads an array of signed 16-bit integers from a file.
Gan_Bool gan_fwrite_lendian_i16 (FILE *fp, gan_int16 *ai16, size_t nitems)
 Writes an array of signed 16-bit integers to a file.
Gan_Bool gan_fread_lendian_ui16 (FILE *fp, gan_uint16 *aui16, size_t nitems)
 Reads an array of unsigned 16-bit integers from a file.
Gan_Bool gan_fwrite_lendian_ui16 (FILE *fp, gan_uint16 *aui16, size_t nitems)
 Writes an array of unsigned 16-bit integers to a file.
Gan_Bool gan_fread_lendian_i32 (FILE *fp, gan_int32 *ai32, size_t nitems)
 Reads an array of signed 32-bit integers from a file.
Gan_Bool gan_fwrite_lendian_i32 (FILE *fp, gan_int32 *ai32, size_t nitems)
 Writes an array of signed 32-bit integers to a file.
Gan_Bool gan_fread_lendian_ui32 (FILE *fp, gan_uint32 *aui32, size_t nitems)
 Reads an array of unsigned 32-bit integers from a file.
Gan_Bool gan_fwrite_lendian_ui32 (FILE *fp, gan_uint32 *aui32, size_t nitems)
 Writes an array of unsigned 32-bit integers to a file.
Gan_Bool gan_fread_lendian_i64 (FILE *fp, gan_int64 *ai64, size_t nitems)
 Reads an array of signed 64-bit integers from a file.
Gan_Bool gan_fwrite_lendian_i64 (FILE *fp, gan_int64 *ai64, size_t nitems)
 Writes an array of signed 64-bit integers to a file.
Gan_Bool gan_fread_lendian_ui64 (FILE *fp, gan_uint64 *aui64, size_t nitems)
 Reads an array of unsigned 64-bit integers from a file.
Gan_Bool gan_fwrite_lendian_ui64 (FILE *fp, gan_uint64 *aui64, size_t nitems)
 Writes an array of unsigned 64-bit integers to a file.
Gan_Bool gan_fread_lendian_f32 (FILE *fp, gan_float32 *af32, size_t nitems)
 Reads an array of 32-bit floats from a file.
Gan_Bool gan_fwrite_lendian_f32 (FILE *fp, gan_float32 *af32, size_t nitems)
 Writes an array of 32-bit floats to a file.
Gan_Bool gan_fread_lendian_f64 (FILE *fp, gan_float64 *af64, size_t nitems)
 Reads an array of 64-bit floats from a file.
Gan_Bool gan_fwrite_lendian_f64 (FILE *fp, gan_float64 *af64, size_t nitems)
 Writes an array of 64-bit floats to a file.

Detailed Description

Module: Little and big-endian I/O for architecture independent I/O

Part of: Gandalf Library

Version:
1.10
Date:
2005/05/13 17:12:53
Author:
pm
Copyright: (c) 2000 Imagineer Software Limited
Generated on Fri Mar 17 12:44:51 2006 by  doxygen 1.3.9.1