* Scans as many hexadecimal digits as are available in the text, * returning "" if the given number of digits was unavailable.
(count, canHaveSeparators)
| 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; |
no test coverage detected