13#ifndef BOFSTREAM_H_INCLUDED
14#define BOFSTREAM_H_INCLUDED
30 ios::openmode mode = ios::out | ios::trunc | ios::binary)
31 : ofstream(name, mode) {}
33 void seek(
long spos,
Offset offs)
override final;
34 streampos
pos() override final;
37 void putRaw(const
char*
c, streamsize n) override final { this->write(
c, n); }
bofstream & operator<<(bofstream &bof, double n)
enum { Set, Add, End } Offset
Binary output file stream class.
streampos pos() override final
void putByte(bofstream::Byte b) override final
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