1 #ifndef __src_lib_base_buffer_h
2 #define __src_lib_base_buffer_h
18 std::list<eIOBufferData> buffer;
20 eIOBufferData &addblock();
23 eIOBuffer(int allocationsize): allocationsize(allocationsize), ptr(0)
30 int peek(void *dest, int len) const;
32 int read(void *dest, int len);
33 void write(const void *source, int len);
34 int fromfile(int fd, int len);
35 int tofile(int fd, int len);
37 int searchchr(char ch) const;