30 std::ostream&
seqPrint(std::ostream& strm,
const I& first,
const I& last,
31 const char* sep,
const char* pre,
const char* post)
36 for (I i = first; i != last; ++i)
50 template <
unsigned int n>
53 return static_cast<unsigned char>(in.get())+(read_bytes<n-1>(in)<<8);
59 return static_cast<unsigned char>(in.get());
63 template <
unsigned int n>
unsigned long long read_bytes(std::istream &in)
Definition: basic_io_def.h:51
unsigned long long read_bytes< 1 >(std::istream &in)
Definition: basic_io_def.h:57
std::ostream & seqPrint(std::ostream &, const I &, const I &, const char *sep=",", const char *pre="", const char *post="")
Definition: basic_io_def.h:30
#define out(c)
Definition: cweave.c:205
unsigned long n
Definition: axis.cpp:77
void write_bytes< 1 >(unsigned long long val, std::ostream &out)
Definition: basic_io_def.h:70
void write_bytes(unsigned int n, unsigned long long val, std::ostream &out)
Definition: basic_io.cpp:183