Encoding
hexDecode

🔢 Decodes a Hex string.

Syntax

import { hexDecode } from '@opentf/std';
 
hexDecode(str: string): string

Parameters

  • str: The Hex string to decode.

Returns

The decoded string.

Examples

hexDecode('48656c6c6f') //=> 'Hello'

Related

Try