1#ifndef ZSERIO_BYTES_H_INC
2#define ZSERIO_BYTES_H_INC
19template <
typename ALLOC = std::allocator<u
int8_t>>
32template <
typename ALLOC>
40 return std::equal(
lhs.begin(),
lhs.end(),
rhs.begin(),
rhs.end());
50 return std::lexicographical_compare(
lhs.begin(),
lhs.end(),
rhs.begin(),
rhs.end());
71void validate(
BytesView stringValue, std::string_view fieldName);
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)