decodeHex

Decodes hex content.

Signatures

beacon.decodeHex(hex);

Parameters

hex

The hex-encoded content to decode.

Return Values

Type Notes
String The decoded binary data.

Examples

Decode a hello world message

const decoded = beacon.decodeHex('48656C6C6F20576F726C64');
beacon.debugPrint(decoded); // Outputs "Hello World"

See Also