MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / _OctDigitValue

Function _OctDigitValue

Source/MediaInfo/MediaInfo_Config.cpp:523–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521//***************************************************************************
522
523static inline int _OctDigitValue(const String::value_type &ch)
524{
525 switch (ch)
526 {
527 case __T('0'): return 0;
528 case __T('1'): return 1;
529 case __T('2'): return 2;
530 case __T('3'): return 3;
531 case __T('4'): return 4;
532 case __T('5'): return 5;
533 case __T('6'): return 6;
534 case __T('7'): return 7;
535 }
536 return -1;
537}
538
539static inline int _HexDigitValue(const String::value_type &ch)
540{

Callers 1

_DecodeEscapeCFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected