Skip to main content
Decodes a Bytes32-encoded string into a regular string. This is used to decode ABI-encoded data.

Parameters

Returns

string The decoded string.

Throws

If the input is not exactly 32 bytes long or lacks a null terminator.

Source

encoding/bytes32.ts:41