| 88 | } |
| 89 | |
| 90 | std::string Buffer::ToHexString() { |
| 91 | return HexEncode(data(), static_cast<size_t>(size())); |
| 92 | } |
| 93 | |
| 94 | bool Buffer::Equals(const Buffer& other, const int64_t nbytes) const { |
| 95 | return this == &other || (size_ >= nbytes && other.size_ >= nbytes && |