aboutsummaryrefslogtreecommitdiff
path: root/util/stringprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/stringprintf.h')
-rw-r--r--util/stringprintf.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/util/stringprintf.h b/util/stringprintf.h
index 0de394ea..23f07fea 100644
--- a/util/stringprintf.h
+++ b/util/stringprintf.h
@@ -10,12 +10,6 @@
#include <ostream>
#include <string>
-// TODO: This header is included in the openscreen discovery public headers (dns_sd_instance.h),
-// which exposes this abseil header. Need to figure out a way to hide it.
-#if 0
-#include "absl/types/span.h"
-#endif
-
namespace openscreen {
// Enable compile-time checking of the printf format argument, if available.
@@ -58,10 +52,8 @@ void PrettyPrintAsciiHex(std::ostream& os, It first, It last) {
}
}
-#if 0
// Returns a hex string representation of the given |bytes|.
-std::string HexEncode(absl::Span<const uint8_t> bytes);
-#endif
+std::string HexEncode(const uint8_t* bytes, std::size_t len);
} // namespace openscreen