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

◆ read_sac_header()

SACheader datrw::sac::read_sac_header ( std::istream &  is)

read SAC header from stream

Definition at line 45 of file sacread.cc.

Referenced by main(), and datrw::isacstream::readheader().

46  {
47  SACheader retval;
48  typedef char* Pchar;
49  is.read(Pchar(&retval), sizeof(SACheader));
50  return(retval);
51  } // SACheader read_sac_header(std::istream& is)
Here is the caller graph for this function: