54 static const int bufferSize = 4096;
55 char buffer[bufferSize];
66 virtual std::streamsize
xsputn(
const char *s, std::streamsize num);
88 std::ostream(&buf), buf(_fd, _close)
105 static const int bufferSize = 4096;
106 static const int putBack = 128;
107 char buffer[bufferSize];
114 virtual int underflow();
131 std::istream(&buf), buf(fd, close)
148 static const int bufferSize = 4096;
149 static const int putBack = 128;
150 char buffer[bufferSize];
153 fpinbuf(FILE *_fp,
bool _close);
157 virtual int underflow();
174 fpistream(FILE *fp,
bool close =
false) :
175 std::istream(&buf), buf(fp, close)
virtual std::streamsize xsputn(const char *s, std::streamsize num)
virtual int overflow(int c)
top level DAP object to house generic methods
fdostream(int _fd, bool _close=false)
fdoutbuf(int _fd, bool _close)