Skip to content

toHex

toHex(binary) → string · Binary

Convert binary data to a hexadecimal string.

  • binary (required): binary data
utlx
toHex(toBinary("AB", "UTF-8"))           // "4142"

Released under AGPL-3.0.