Encodes a string as a Bytes32 string. This is used to encode ABI data.
Parameter | Type | Description |
---|---|---|
text | string | The string to encode. |
string
The Bytes32-encoded string.
If the string is too long to fit in a Bytes32 format.
Encodes a string as a Bytes32 string. This is used to encode ABI data.
Parameter | Type | Description |
---|---|---|
text | string | The string to encode. |
string
The Bytes32-encoded string.
If the string is too long to fit in a Bytes32 format.