| 22 | payload_impl::payload_impl(const payload_impl& _payload) : data_(_payload.data_) { } |
| 23 | |
| 24 | bool payload_impl::operator==(const payload& _other) const { |
| 25 | bool is_equal{get_length() == _other.get_length()}; |
| 26 | if (is_equal) { |
| 27 | is_equal = (0 == std::memcmp(get_data(), _other.get_data(), get_length())); |
| 28 | } |
| 29 | return is_equal; |
| 30 | } |
| 31 | |
| 32 | byte_t* payload_impl::get_data() { |
| 33 | return data_.data(); |
nothing calls this directly
no test coverage detected