github.com/GuanceCloud/cliutils@v1.1.21/pipeline/ptinput/funcs/md/b64dec.en.md (about) 1 ### `b64dec()` {#fn-b64dec} 2 3 Function prototype: `fn b64dec(key: str)` 4 5 Function description: Base64 decodes the string data obtained on the specified field 6 7 Function parameters: 8 9 - `key`: fields to extract 10 11 Example: 12 13 ```python 14 # input data {"str": "aGVsbG8sIHdvcmxk"} 15 json(_, `str`) 16 b64enc(`str`) 17 18 # result 19 # { 20 # "str": "hello, world" 21 # } 22 ```