(input)
| 3726 | } |
| 3727 | const buffer = Buffer.from(data, "base64"); |
| 3728 | return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength); |
| 3729 | } |
| 3730 | function collectAnHTTPQuotedString(input, position, extractValue) { |
| 3731 | const positionStart = position.position; |
| 3732 | let value = ""; |
| 3733 | assert(input[position.position] === '"'); |
| 3734 | position.position++; |
| 3735 | while (true) { |
| 3736 | value += collectASequenceOfCodePoints( |
| 3737 | (char) => char !== '"' && char !== "\\", |
| 3738 | input, |
| 3739 | position |
| 3740 | ); |
| 3741 | if (position.position >= input.length) { |
| 3742 | break; |
| 3743 | } |
| 3744 | const quoteOrBackslash = input[position.position]; |
| 3745 | position.position++; |
| 3746 | if (quoteOrBackslash === "\\") { |
no test coverage detected