(sequences)
| 15434 | if (type2 !== "failure") { |
| 15435 | encoding = getEncoding(type2.parameters.get("charset")); |
| 15436 | } |
| 15437 | } |
| 15438 | if (encoding === "failure") { |
| 15439 | encoding = "UTF-8"; |
| 15440 | } |
| 15441 | return decode(bytes, encoding); |
| 15442 | } |
| 15443 | case "ArrayBuffer": { |
| 15444 | const sequence = combineByteSequences(bytes); |
| 15445 | return sequence.buffer; |
| 15446 | } |
| 15447 | case "BinaryString": { |
| 15448 | let binaryString = ""; |
| 15449 | const decoder = new StringDecoder2("latin1"); |
no test coverage detected