(sources)
| 75754 | if (source instanceof Uint8Array) { |
| 75755 | return source.byteLength; |
| 75756 | } else if (isBlob3(source)) { |
| 75757 | return source.size === -1 ? void 0 : source.size; |
| 75758 | } else { |
| 75759 | return void 0; |
| 75760 | } |
| 75761 | } |
| 75762 | function getTotalLength(sources) { |
| 75763 | let total = 0; |
| 75764 | for (const source of sources) { |
| 75765 | const partLength = getLength(source); |
| 75766 | if (partLength === void 0) { |
| 75767 | return void 0; |
| 75768 | } else { |
| 75769 | total += partLength; |
| 75770 | } |
no test coverage detected