IdString64 - stingray.IdString64 object reference - Stingray Lua API Reference
A hashed string value.
NOTE: IdString64 objects are temporary. You can only use them in the frame in which they were generated.
If you need to save a IdString64 across multiple frames, use a IdString64Box instead. For more information, see
Object Lifetimes and Userdata Binding.
You can convert a string to an IdString64, but there is no way of converting the IdString64 back to a string.
An IdString64 is a hashed value that can only be compared for equality.
|
Indicates whether or not the two IdString64 values are equal.
|
Parameters Returns boolean |
true the two IdString64 values are equal.
|
Note that you cannot
compare the two values with ==, because == between two lightuserdata objects
in lua only tests reference equality, not value equality.
|
Returns an IdString64 representation of the hexadecimal value.
|
Parameters s : | string | The hexadecimal string value to convert to an IdString64. |
Returns
|
Returns a hexadecimal representation of the IdString64.
|
Parameters Returns string |
A hexadecimal string representation of the IdString64.
|
|
Returns a string representation of the IdString64.
|
Parameters Returns string |
The string representation.
|
Note that this string representation
is not the original string that was hashed (the pre-image). The pre-image of the hash
cannot be obtained.