MCPcopy Create free account
hub / github.com/anyrtcIO-Community/anyRTC-RTMP-OpenSource / hex_encode

Function hex_encode

webrtc/base/stringencode.cc:413–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411static const char HEX[] = "0123456789abcdef";
412
413char hex_encode(unsigned char val) {
414 RTC_DCHECK_LT(val, 16);
415 return (val < 16) ? HEX[val] : '!';
416}
417
418bool hex_decode(char ch, unsigned char* val) {
419 if ((ch >= '0') && (ch <= '9')) {

Callers 5

CmpHelperMemEqFunction · 0.85
encodeFunction · 0.85
url_encodeFunction · 0.85
LogMultilineFunction · 0.85

Calls 2

sizeMethod · 0.45

Tested by 1

CmpHelperMemEqFunction · 0.68