1 #ifndef MSP_IO_BUFFERED_H_
2 #define MSP_IO_BUFFERED_H_
9 class Buffered: public Base
20 Buffered(Base &, unsigned =8192);
26 unsigned do_write(const char *, unsigned);
27 unsigned do_read(char *, unsigned);
31 bool getline(std::string &);
37 Mode get_current_op() const { return cur_op; }
38 unsigned get_current_size() const;