MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / AsHexString

Function AsHexString

src/Compression/tests/gtest_compressionCodec.cpp:61–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60template <typename T>
61AsHexStringHelper<T> AsHexString(const T & container)
62{
63 static_assert (sizeof(container[0]) == 1 && is_pod_v<std::decay_t<decltype(container[0])>>, "Only works on containers of byte-size PODs.");
64
65 return AsHexStringHelper<T>{container};
66}
67
68template <typename T>
69std::string bin(const T & value, size_t bits = sizeof(T)*8)

Callers 1

TEST_PFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected