FEDEM Solver
R8.0
Source code of the dynamics solver
|
Utilities for reading and writing of file tags. More...
Functions | |
int | read (FILE *fd, std::string &tag, unsigned int &cs, int tagLength=LEN_TAG) |
Reads the file tag and checksum from the provided file. More... | |
int | write (FILE *fd, const char *tag, int nchar, unsigned int cs, int tagLength=LEN_TAG) |
Writes the file tag and checksum to the provided file. More... | |
int | endian () |
Returns current system endian. More... | |
Utilities for reading and writing of file tags.
int FFaTag::endian | ( | ) |
Returns current system endian.
int FFaTag::read | ( | FILE * | fd, |
std::string & | tag, | ||
unsigned int & | cs, | ||
int | tagLength = LEN_TAG |
||
) |
Reads the file tag and checksum from the provided file.
int FFaTag::write | ( | FILE * | fd, |
const char * | tag, | ||
int | nchar, | ||
unsigned int | cs, | ||
int | tagLength = LEN_TAG |
||
) |
Writes the file tag and checksum to the provided file.