3 This file is part of libmspio
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
7 #ifndef MSP_IO_BUFFERED_H_
8 #define MSP_IO_BUFFERED_H_
15 class Buffered: public Base
26 Buffered(Base &, unsigned =8192);
31 bool getline(std::string &);
33 Handle get_event_handle();
34 Mode get_current_op() const { return cur_op; }
35 unsigned get_current_size() const;
39 unsigned do_write(const char *, unsigned);
40 unsigned do_read(char *, unsigned);