Binary File Access. More...
Data Structures | |
struct | _imBinMemoryFileName |
Memory File Filename Parameter Structure. More... | |
class | imBinFileBase |
Binary File I/O Base Class. More... | |
Typedefs | |
typedef struct _imBinFile | imBinFile |
typedef struct _imBinMemoryFileName | imBinMemoryFileName |
typedef imBinFileBase *(* | imBinFileNewFunc )() |
Enumerations | |
enum | imBinFileModule { IM_RAWFILE, IM_STREAM, IM_MEMFILE, IM_SUBFILE, IM_FILEHANDLE, IM_IOCUSTOM0 } |
Functions | |
imBinFile * | imBinFileOpen (const char *pFileName) |
imBinFile * | imBinFileNew (const char *pFileName) |
void | imBinFileClose (imBinFile *bfile) |
int | imBinFileError (imBinFile *bfile) |
unsigned long | imBinFileSize (imBinFile *bfile) |
int | imBinFileByteOrder (imBinFile *bfile, int pByteOrder) |
unsigned long | imBinFileRead (imBinFile *bfile, void *pValues, unsigned long pCount, int pSizeOf) |
unsigned long | imBinFileWrite (imBinFile *bfile, void *pValues, unsigned long pCount, int pSizeOf) |
unsigned long | imBinFilePrintf (imBinFile *bfile, const char *format,...) |
int | imBinFileReadLine (imBinFile *handle, char *comment, int *size) |
int | imBinFileSkipLine (imBinFile *handle) |
int | imBinFileReadInteger (imBinFile *handle, int *value) |
int | imBinFileReadReal (imBinFile *handle, double *value) |
void | imBinFileSeekTo (imBinFile *bfile, unsigned long pOffset) |
void | imBinFileSeekOffset (imBinFile *bfile, long pOffset) |
void | imBinFileSeekFrom (imBinFile *bfile, long pOffset) |
unsigned long | imBinFileTell (imBinFile *bfile) |
int | imBinFileEndOfFile (imBinFile *bfile) |
int | imBinFileSetCurrentModule (int pModule) |
void | imBinMemoryRelease (unsigned char *buffer) |
int | imBinFileRegisterModule (imBinFileNewFunc pNewFunc) |
See Copyright Notice in im_lib.h