Go to the documentation of this file.
15 #ifndef OPENSSL_HEADER_CRYPTO_TEST_TEST_UTIL_H
16 #define OPENSSL_HEADER_CRYPTO_TEST_TEST_UTIL_H
29 #include "../internal.h"
40 :
span_(data_arg, len_arg) {}
41 Bytes(
const char *data_arg,
size_t len_arg)
48 explicit Bytes(bssl::Span<const uint8_t> span)
51 bssl::Span<const uint8_t>
span_;
55 return a.span_ ==
b.span_;
71 #endif // OPENSSL_HEADER_CRYPTO_TEST_TEST_UTIL_H
bool operator==(const Bytes &a, const Bytes &b)
Bytes(const std::string &str)
void hexdump(FILE *fp, const char *msg, const void *in, size_t len)
Bytes(const uint8_t *data_arg, size_t len_arg)
bool operator!=(const Bytes &a, const Bytes &b)
bssl::Span< const uint8_t > span_
Bytes(const char *data_arg, size_t len_arg)
Bytes(bssl::Span< const uint8_t > span)
bool DecodeHex(std::vector< uint8_t > *out, const std::string &in)
std::ostream & operator<<(std::ostream &os, const Bytes &in)
std::string EncodeHex(bssl::Span< const uint8_t > in)
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:31