hexToString()

Convert an hex string to a plain text string

Method signature

function hexToString(hex)

Parameters

Name
Type
Description

hex

string

Any hex string to convert to a plain text string

Example

var hex = "48656c6c6f2c20576f726c6421";

var hexString = CircularProtocolAPI.hexToString(hex);

Result

The result will be an object of type String:

Hello, World!

Last updated