| 1027 | |
| 1028 | |
| 1029 | void IOBuf::append(const IOBuf& other) { |
| 1030 | const size_t nref = other._ref_num(); |
| 1031 | for (size_t i = 0; i < nref; ++i) { |
| 1032 | _push_back_ref(other._ref_at(i)); |
| 1033 | } |
| 1034 | } |
| 1035 | |
| 1036 | void IOBuf::append(const Movable& movable_other) { |
| 1037 | if (empty()) { |