(char, input, position)
| 4244 | } |
| 4245 | __name(collectASequenceOfCodePoints, "collectASequenceOfCodePoints"); |
| 4246 | function collectASequenceOfCodePointsFast(char, input, position) { |
| 4247 | const idx = input.indexOf(char, position.position); |
| 4248 | const start = position.position; |
| 4249 | if (idx === -1) { |
| 4250 | position.position = input.length; |
| 4251 | return input.slice(start); |
| 4252 | } |
| 4253 | position.position = idx; |
| 4254 | return input.slice(start, position.position); |
| 4255 | } |
| 4256 | __name(collectASequenceOfCodePointsFast, "collectASequenceOfCodePointsFast"); |
| 4257 | var ASCII_WHITESPACE_REPLACE_REGEX = /[\u0009\u000A\u000C\u000D\u0020]/g; |
| 4258 | function forgivingBase64(data) { |
no test coverage detected