MCPcopy Create free account
hub / github.com/nodejs/node / scanMinimumNumberOfHexDigits

Function scanMinimumNumberOfHexDigits

test/fixtures/snapshot/typescript.js:11011–11013  ·  view source on GitHub ↗

* Scans as many hexadecimal digits as are available in the text, * returning "" if the given number of digits was unavailable.

(count, canHaveSeparators)

Source from the content-addressed store, hash-verified

11009 * returning "" if the given number of digits was unavailable.
11010 */
11011 function scanMinimumNumberOfHexDigits(count, canHaveSeparators) {
11012 return scanHexDigits(/*minCount*/ count, /*scanAsManyAsPossible*/ true, canHaveSeparators);
11013 }
11014 function scanHexDigits(minCount, scanAsManyAsPossible, canHaveSeparators) {
11015 var valueChars = [];
11016 var allowSeparator = false;

Callers 4

scanEscapeSequenceFunction · 0.85
scanFunction · 0.85

Calls 1

scanHexDigitsFunction · 0.85

Tested by

no test coverage detected