1 #ifndef ZSERIO_BYTES_H_INC
2 #define ZSERIO_BYTES_H_INC
19 template <
typename ALLOC = std::allocator<u
int8_t>>
32 template <
typename ALLOC>
50 return std::lexicographical_compare(lhs.
begin(), lhs.
end(), rhs.
begin(), rhs.
end());
71 void validate(
BytesView stringValue, std::string_view fieldName);
constexpr iterator end() const noexcept
constexpr iterator begin() const noexcept
Span< const uint8_t > BytesView
bool operator>(const BasicBitBufferView< ALLOC > &lhs, const BasicBitBufferView< ALLOC > &rhs)
bool operator==(const BasicBitBufferView< ALLOC > &lhs, const BasicBitBufferView< ALLOC > &rhs)
std::vector< uint8_t, ALLOC > BasicBytes
bool operator<(const BasicBitBufferView< ALLOC > &lhs, const BasicBitBufferView< ALLOC > &rhs)
bool operator<=(const BasicBitBufferView< ALLOC > &lhs, const BasicBitBufferView< ALLOC > &rhs)
bool operator>=(const BasicBitBufferView< ALLOC > &lhs, const BasicBitBufferView< ALLOC > &rhs)
bool operator!=(const BasicBitBufferView< ALLOC > &lhs, const BasicBitBufferView< ALLOC > &rhs)