(mimeType: string)
| 378 | }; |
| 379 | |
| 380 | const isGenericMimeType = (mimeType: string): boolean => |
| 381 | normalizeContentType(mimeType) === "application/octet-stream"; |
| 382 | |
| 383 | const startsWithBytes = (bytes: Uint8Array, prefix: readonly number[]): boolean => |
| 384 | prefix.every((byte, index) => bytes[index] === byte); |
no test coverage detected