1 --- ./core/src/ByteArray.h 2022-12-05 10:05:07.330193204 +0000
2 +++ ./core/src/ByteArray.h 2022-12-05 10:05:13.897892011 +0000
7 -#ifdef __cpp_lib_string_view
15 void append(const ByteArray& other) { insert(end(), other.begin(), other.end()); }
17 -#ifdef __cpp_lib_string_view
18 std::string_view asString(size_t pos = 0, size_t len = std::string_view::npos) const
20 return std::string_view(reinterpret_cast<const char*>(data()), size()).substr(pos, len);
25 inline std::string ToHex(const ByteArray& bytes)