MCPcopy Index your code
hub / github.com/nodejs/node / scanExactNumberOfHexDigits

Function scanExactNumberOfHexDigits

test/fixtures/snapshot/typescript.js:11003–11006  ·  view source on GitHub ↗

* Scans the given number of hexadecimal digits in the text, * returning -1 if the given number is unavailable.

(count, canHaveSeparators)

Source from the content-addressed store, hash-verified

11001 * returning -1 if the given number is unavailable.
11002 */
11003 function scanExactNumberOfHexDigits(count, canHaveSeparators) {
11004 var valueString = scanHexDigits(/*minCount*/ count, /*scanAsManyAsPossible*/ false, canHaveSeparators);
11005 return valueString ? parseInt(valueString, 16) : -1;
11006 }
11007 /**
11008 * Scans as many hexadecimal digits as are available in the text,
11009 * returning "" if the given number of digits was unavailable.

Callers 2

scanHexadecimalEscapeFunction · 0.85
peekUnicodeEscapeFunction · 0.85

Calls 1

scanHexDigitsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…