SecretParserCreateString Method |
Creates a string representation of a secret byte array.
Namespace:
Zyrenth.Zora
Assembly:
ZoraSharp (in ZoraSharp.dll) Version: 2.3
Syntaxpublic static string CreateString(
byte[] data,
GameRegion region
)
Public Shared Function CreateString (
data As Byte(),
region As GameRegion
) As String
Parameters
- data
- Type: SystemByte
The secret data - region
- Type: Zyrenth.ZoraGameRegion
The region of the game
Return Value
Type:
StringA representation of the secret data
ExceptionsException | Condition |
---|
SecretException |
The data contains values that cannot be used in a secret.
|
RemarksThis method always returns the secret formatted as →N♥Nh
Examplesbyte[] rawSecret = new byte[]
{
4, 37, 51, 36, 63,
61, 51, 10, 44, 39,
3, 0, 52, 21, 48,
55, 9, 45, 59, 55
};
string secret = SecretParser.CreateString(rawSecret, GameRegion.US);
See Also