| 7 | #include "bytes.h" |
| 8 | |
| 9 | Buffer::Buffer(int total){ |
| 10 | size_ = 0; |
| 11 | total_ = origin_total = total; |
| 12 | buf = (char *)malloc(total); |
| 13 | data_ = buf; |
| 14 | } |
| 15 | |
| 16 | Buffer::~Buffer(){ |
| 17 | free(buf); |
nothing calls this directly
no outgoing calls
no test coverage detected