Nav

toBase64

toBase64(Binary): String

Transforms the specified binary into the base64 string representation

Transform

        
     
1
2
3
4
5
6
7
8
9
10
11
%dw 2.0
import * from dw::core::Binaries
output application/json
---
 toBase64(fromBase64(12463730))
 ----

 .Output
 ----
 12463730
 ----