|
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
21 #ifndef ELM_BUFFEREDINSTREAM_H_
22 #define ELM_BUFFEREDINSTREAM_H_
25 #include <elm/io/InStream.h>
27 namespace elm {
namespace io {
42 int read(
void *buffer,
int size)
override;
43 int read(
void)
override;
49 int pos, top, buf_size;
~BufferedInStream() override
Definition: io_BufferedInStream.cpp:65
Definition: BufferedInStream.h:30
void setStream(InStream &str)
Definition: io_BufferedInStream.cpp:83
void reset()
Definition: io_BufferedInStream.cpp:92
uint64 size
Definition: arch.h:35
InStream & stream() const
Definition: BufferedInStream.h:38
static const int default_size
Definition: BufferedInStream.h:32
string str(const char *s)
Definition: String.h:150
BufferedInStream(InStream &input, int size=default_size)
Definition: io_BufferedInStream.cpp:44
int read(void) override
Definition: io_BufferedInStream.cpp:120
Definition: InStream.h:29