Skip to content

binaryToString

binaryToString(binary, encoding) → string · Binary

Decode binary data to a string using the specified character encoding.

  • binary (required): binary data to decode

  • encoding (required): character encoding — "UTF-8", "ISO-8859-1", "US-ASCII", etc.

utlx
{
  text: binaryToString(base64Decode($input.payload), "UTF-8")
}

Released under AGPL-3.0.