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