27 #ifdef FT_USE_LOWLEVEL_IO
30 int read(
FT_FILE fd, std::string& tag,
unsigned int& cs,
35 int write(
FT_FILE fd,
const char* tag,
int nchar,
unsigned int cs,
41 int read(FILE* fd, std::string& tag,
unsigned int& cs,
46 int write(FILE* fd,
const char* tag,
int nchar,
unsigned int cs,
Functions and data type for direct access of large binary files.
#define FT_FILE
File pointer.
Definition: FFaIO.H:136
#define LEN_TAG
Default length of a file tag.
Definition: FFaTag.H:22
Utilities for reading and writing of file tags.
Definition: FFaTag.H:26
int endian()
Returns current system endian.
Definition: FFaTag.C:161
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.
Definition: FFaTag.C:325
int read(FILE *fd, std::string &tag, unsigned int &cs, int tagLength=LEN_TAG)
Reads the file tag and checksum from the provided file.
Definition: FFaTag.C:317