30 #ifndef BUNDLESTREAMBUF_H_
31 #define BUNDLESTREAMBUF_H_
33 class BundleStreamBuf :
public std::basic_streambuf<char, std::char_traits<char> >
61 virtual std::char_traits<char>::int_type
overflow(std::char_traits<char>::int_type = std::char_traits<char>::eof());
62 virtual std::char_traits<char>::int_type
underflow();
76 bool operator==(
const Chunk& other)
const;
77 bool operator<(
const Chunk& other)
const;
84 std::vector<char> _in_buf;
86 std::vector<char> _out_buf;
98 std::set<Chunk> _chunks;