Decode UTF-8 bytes to a TokenId. This can be used to deserialize token IDs in transactions.
The decoded TokenId.
If the decoded string is longer than 255 utf-8 encoded bytes or contains invalid UTF-8.
The UTF-8 byte array to decode.
Generated using TypeDoc
Decode UTF-8 bytes to a TokenId. This can be used to deserialize token IDs in transactions.
Returns
The decoded TokenId.
Throws
If the decoded string is longer than 255 utf-8 encoded bytes or contains invalid UTF-8.