return 0;
}
+bool FILEIO::Fflush()
+{
+#ifdef USE_ZLIB
+ if(gz != NULL) {
+ return (gzflush(gz, Z_SYNC_FLUSH) == Z_OK) ? true : false;
+ } else
+#endif
+ {
+ return (fflush(fp) == 0) ? true : false;
+ }
+}
+
size_t FILEIO::Fwrite(const void* buffer, size_t size, size_t count)
{
#ifdef USE_ZLIB
_TCHAR *Fgetts(_TCHAR *str, int n);
int Fprintf(const char* format, ...);
int Ftprintf(const _TCHAR* format, ...);
-
+
size_t Fread(void* buffer, size_t size, size_t count);
size_t Fwrite(const void* buffer, size_t size, size_t count);
+ bool Fflush();
int Fseek(long offset, int origin);
long Ftell();
bool Fcompare(const void* buffer, size_t size);