참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.
function decodeBytes32(_bytes): string
Decodes a Bytes32-encoded string into a regular string. This is used to decode ABI-encoded data.

Parameters

ParameterTypeDescription
_bytesBytesLikeThe Bytes32-encoded data.

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