42 #ifndef _BASICFILEIO_H_ 43 #define _BASICFILEIO_H_ 63 static bool ReadBool(
char*& pchBuffer);
64 static char ReadChar(
char*& pchBuffer);
67 static int ReadInt(
char*& pchBuffer);
70 static void ReadBytes(
char*& pchBuffer,
void* pDest,
int nSize);
73 static bool WriteBool(FILE *fp,
bool bValue);
74 static bool WriteChar(FILE *fp,
char chValue);
76 static bool WriteInt(FILE *fp,
int nValue);
77 static bool WriteFloat(FILE *fp,
float fValue);
79 static bool WriteBytes(FILE *fp,
void* pSrc,
int nSize);
87 #endif // _BASICFILEIO_H_ static void ReadBytes(char *&pchBuffer, void *pDest, int nSize)
static std::string ReadString(char *&pchBuffer)
static short ReadShort(char *&pchBuffer)
static int GetFileSize(FILE *fp)
static float ReadFloat(char *&pchBuffer)
static double ReadDouble(char *&pchBuffer)
static bool ReadBool(char *&pchBuffer)
static bool WriteFloat(FILE *fp, float fValue)
static char ReadChar(char *&pchBuffer)
static bool WriteString(FILE *fp, std::string szValue)
static bool WriteInt(FILE *fp, int nValue)
GLsizei const GLchar ** string
static bool WriteDouble(FILE *fp, double dValue)
static bool WriteBool(FILE *fp, bool bValue)
static int ReadInt(char *&pchBuffer)
static bool WriteBytes(FILE *fp, void *pSrc, int nSize)
static bool WriteChar(FILE *fp, char chValue)