MCPcopy Create free account
hub / github.com/catboost/catboost / HexDecode

Function HexDecode

util/string/hex.h:57–59  ·  view source on GitHub ↗

Convert an ASCII hex-string (case-insensitive) to the binary form. Note that h.Size() must be even (+h % 2 == 0).

Source from the content-addressed store, hash-verified

55
56//! Convert an ASCII hex-string (case-insensitive) to the binary form. Note that h.Size() must be even (+h % 2 == 0).
57inline TString HexDecode(const TStringBuf h) {
58 return HexDecode(h.data(), h.size());
59}

Callers 1

Y_UNIT_TESTFunction · 0.70

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected