(bytes: Uint8Array, prefix: readonly number[])
| 381 | normalizeContentType(mimeType) === "application/octet-stream"; |
| 382 | |
| 383 | const startsWithBytes = (bytes: Uint8Array, prefix: readonly number[]): boolean => |
| 384 | prefix.every((byte, index) => bytes[index] === byte); |
| 385 | |
| 386 | const isLikelyUtf8Text = (bytes: Uint8Array): boolean => { |
| 387 | if (bytes.length === 0) return false; |