40 case Set: this->seekg(spos, ios::beg);
break;
41 case Add: this->seekg(spos, ios::cur);
break;
42 case End: this->seekg(spos, ios::end);
break;
49 return streampos (this->tellg());
57 if(iread == EOF)
err |=
Eof;
61 throw runtime_error (
"Reading from binary file failed");
75 { n = (long)bif.
readInt (4);
return (bif); }
78 { n = (int)bif.
readInt (4);
return (bif); }
void seek(long spos, Offset offs)
bifstream & operator>>(bifstream &bif, double &n)
Float readFloat(FType ft)
Int readInt(unsigned int size)
Binary output file stream class.
This file contains the class declaration of bifstream.
bifstream::Byte getByte()