DATRW++ library: seismic data I/O with multiple formats

◆ write() [2/15]

void datrw::binary::obinstream::write ( const short &  v)

Definition at line 66 of file obinstream.cc.

References DATRW_debug, Mdebug, and Mos.

67  {
68  DATRW_debug(Mdebug, "obinstream::write(const short& v)", "v=" << v);
69  Mos.write(reinterpret_cast<const char *>(&v), sizeof(short));
70  } // void obinstream::write(const short& v)
#define DATRW_debug(C, N, M)
produce debug output
Definition: debug.h:50
std::ostream & Mos
Definition: obinstream.h:77