Nav

fromHex

fromHex(String): Binary

Converts an hexadecimal string representation into a binary

Transform

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