static fun fromHexString(str: String!): Address!
(source)
Parse a hexadecimal string into a Address
.
str
- String!: The hexadecimal string to parse, which may or may not start with "0x", and should encode exactly 20 bytes.
IllegalArgumentException
- if str
does not correspond to va alid hexadecimal representation containing 20 bytes.
Return
Address!: The value corresponding to str
.