(bytes: Uint8Array, prefix: number[])
| 1 | const startsWith = (bytes: Uint8Array, prefix: number[]) => prefix.every((value, index) => bytes[index] === value) |
| 2 | |
| 3 | export function isPdfAttachment(mime: string) { |
| 4 | return mime === "application/pdf" |
no outgoing calls
no test coverage detected