diff options
author | scuri <scuri> | 2009-10-01 14:14:53 +0000 |
---|---|---|
committer | scuri <scuri> | 2009-10-01 14:14:53 +0000 |
commit | 537ce7ddb32932a2100ae767b1eca51a9dd1c35f (patch) | |
tree | 0b487bef90b949fd8b97f180629a1b0bacefc78c /include/im_binfile.h | |
parent | 62783aee16f96fe5e513fb230b8efddaa02981df (diff) |
New: ASCII compression for RAW format to access text data instead of binary.
Diffstat (limited to 'include/im_binfile.h')
-rw-r--r-- | include/im_binfile.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/im_binfile.h b/include/im_binfile.h index 6bac31e..08af47a 100644 --- a/include/im_binfile.h +++ b/include/im_binfile.h @@ -73,6 +73,16 @@ unsigned long imBinFileWrite(imBinFile* bfile, void* pValues, unsigned long pCou * \ingroup binfile */ unsigned long imBinFilePrintf(imBinFile* bfile, char *format, ...); +/** Reads an integer number from the current position until found a non integer character. + * Returns a non zero value if sucessfull. + * \ingroup binfile */ +int imBinFileReadInteger(imBinFile* handle, int *value); + +/** Reads an floating point number from the current position until found a non number character. + * Returns a non zero value if sucessfull. + * \ingroup binfile */ +int imBinFileReadFloat(imBinFile* handle, float *value); + /** 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 */ |