* @param {string} chars
(chars)
| 15 | * @param {string} chars |
| 16 | */ |
| 17 | function isAsciiString (chars) { |
| 18 | for (let i = 0; i < chars.length; ++i) { |
| 19 | if ((chars.charCodeAt(i) & ~0x7F) !== 0) { |
| 20 | return false |
| 21 | } |
| 22 | } |
| 23 | return true |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * @see https://andreubotella.github.io/multipart-form-data/#multipart-form-data-boundary |
no outgoing calls
no test coverage detected