(bytes: Uint8Array, prefix: readonly number[])
| 420 | normalizeContentType(mimeType) === "application/octet-stream"; |
| 421 | |
| 422 | const startsWithBytes = (bytes: Uint8Array, prefix: readonly number[]): boolean => |
| 423 | prefix.every((byte, index) => bytes[index] === byte); |
| 424 | |
| 425 | const isLikelyUtf8Text = (bytes: Uint8Array): boolean => { |
| 426 | if (bytes.length === 0) return false; |