blob: 34b904051caa17e7f8eef1314422a53007930f99 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import { base64Decode } from "@opencode-ai/core/util/encode"
export function decode64(value: string | undefined) {
if (value === undefined) return
try {
return base64Decode(value)
} catch {
return
}
}
|