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

◆ read() [1/15]

void datrw::binary::ibinstream::read ( char &  v)

Definition at line 63 of file ibinstream.cc.

References DATRW_assert, and Mis.

Referenced by datrw::binary::operator>>(), read(), skipdseries(), skipfseries(), and skipiseries().

64  {
65  DATRW_assert(Mis.read(reinterpret_cast<char *>(&v), sizeof(char)),
66  "ERROR (ibinstream::read): reading char value");
67  } // void ibinstream::read(char& v)
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:92
std::istream & Mis
Definition: ibinstream.h:80
Here is the caller graph for this function: