Nav

toHex

toHex(Binary): String

Converts the specified binary into the hexadecimal String representation

Transform

        
     
1
2
3
4
5
%dw 2.0
import * from dw::core::Binaries
output application/json
---
{ "hex" : toHex('Mule') }
Output
{
  "hex": "4D756C65"
}