1 #ifndef MSP_IO_BUFFERED_H_
2 #define MSP_IO_BUFFERED_H_
4 #include <sigc++/trackable.h>
10 class Buffered: public Base, public sigc::trackable
21 Buffered(Base &, unsigned =8192);
27 unsigned do_write(const char *, unsigned);
28 unsigned do_read(char *, unsigned);
32 bool getline(std::string &);
38 Mode get_current_op() const { return cur_op; }
39 unsigned get_current_size() const;