54 static const int bufferSize = 4096;
55 char buffer[bufferSize];
66 virtual std::streamsize
xsputn(
const char *s, std::streamsize num);
103 static const int bufferSize = 4096;
104 static const int putBack = 128;
105 char buffer[bufferSize];
124class fdistream :
public std::istream {
129 fdistream(
int fd,
bool close =
false) : std::istream(&buf), buf(fd, close) {}
144 static const int bufferSize = 4096;
145 static const int putBack = 128;
146 char buffer[bufferSize];
149 fpinbuf(FILE *_fp,
bool _close);
166class fpistream :
public std::istream {
171 fpistream(FILE *fp,
bool close =
false) : std::istream(&buf), buf(fp, close) {}
fdinbuf(int _fd, bool close)
fdostream(int _fd, bool _close=false)
virtual int overflow(int c)
virtual std::streamsize xsputn(const char *s, std::streamsize num)
fdoutbuf(int _fd, bool _close)
fpinbuf(FILE *_fp, bool _close)
top level DAP object to house generic methods