9#ifndef ZYPP_BYTEARRAY_H
10#define ZYPP_BYTEARRAY_H
21 using vector<
char>::vector;
26 return std::string( data(), size() );
29#ifdef __cpp_lib_string_view
32 return std::string_view();
33 return std::string_view( data(), size() );
38 static const auto size =
ByteArray().max_size();
47 using vector<
unsigned char>::vector;
51 static const auto size =
UByteArray().max_size();
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
static std::size_t maxSize()
std::string asString() const
ByteArray(const char *data, const int len=-1)
static std::size_t maxSize()
UByteArray(const char *data, const int len=-1)
Easy-to use interface to the ZYPP dependency resolver.