31 #ifndef BOFSTREAM_H_INCLUDED 32 #define BOFSTREAM_H_INCLUDED 51 ios::openmode mode = ios::out | ios::trunc | ios::binary)
52 : ofstream (name, mode)
64 void putRaw (
const char *c, streamsize n) { this->write (c, n); }
void seek(long spos, Offset offs)
bofstream & operator<<(bofstream &bof, double n)
bofstream(const char *name, ios::openmode mode=ios::out|ios::trunc|ios::binary)
void setFlag(Flag f, bool set=true)
Binary output file stream class.
void putByte(bofstream::Byte b)
void putRaw(const char *c, streamsize n)