Checks if the current TokenId is equal to another TokenId.
The TokenId to compare with.
true if both token and subid are equal, false otherwise.
Returns the subid number of the TokenId.
The subid number of the TokenId.
Returns the token number of the TokenId.
The token number of the TokenId.
Returns the underlying C++ object, transferring ownership from this instance to the caller.
The underlying object of the instance.
Serializes the instance to a hexadecimal string.
A hexadecimal string representation of the instance.
Returns the size of the underlying C++ object.
The size of the underlying C++ object in bytes.
Returns a string representation of the instance.
A string representation of the instance.
Returnsthe underlying C++ object.
The underlying C++ object.
StaticdefaultGenerates a new default TokenId instance.
A new TokenId instance with default values for token and subid.
StaticdeserializeStaticfromConstucts a new instance using the provided object.
The object to use for the new instance.
A new instance of the class.
StaticfromConstructs a new instance using the provided object and size.
The object to use for the new instance.
The size of the object.
A new instance of the class.
StaticfromGenerates a TokenId from the provided token.
The token number to use for the TokenId.
A new TokenId instance with the specified token and a default subid.
StaticfromGenerates a TokenId from the provided token and subid.
The token number to use for the TokenId.
The subid number to use for the TokenId.
A new TokenId instance with the specified token and subid.
Represents a token ID. A token ID consists of two parameters: token and subid, both of which are optional. When omitted, default values are used instead of random values.
Examples: