(encoded: string)
| 12 | } from './utils' |
| 13 | |
| 14 | function decodeSimpleMessage(encoded: string): string { |
| 15 | return Buffer.from(encoded, 'base64url').toString('utf-8') |
| 16 | } |
| 17 | |
| 18 | /** |
| 19 | * Extract and base64-decode the body of a specific MIME part identified by its |