22 #ifndef LOWPANSTREAM_H_
23 #define LOWPANSTREAM_H_
45 class lowpanstream :
public std::basic_streambuf<char, std::char_traits<char> >,
public std::iostream
61 void queue(
char *buf,
size_t len);
67 virtual std::char_traits<char>::int_type
overflow(std::char_traits<char>::int_type = std::char_traits<char>::eof());
68 virtual std::char_traits<char>::int_type
underflow();
73 bool _in_first_segment;
77 std::vector<char> in_buf_;
82 std::vector<char> out_buf_;
83 std::vector<char> out2_buf_;
88 long out_seq_num_global;