(bytes: Uint8Array, prefix: readonly number[])
| 374 | normalizeContentType(mimeType) === "application/octet-stream"; |
| 375 | |
| 376 | const startsWithBytes = (bytes: Uint8Array, prefix: readonly number[]): boolean => |
| 377 | prefix.every((byte, index) => bytes[index] === byte); |
| 378 | |
| 379 | const isLikelyUtf8Text = (bytes: Uint8Array): boolean => { |
| 380 | if (bytes.length === 0) return false; |