C# Class Funcular.IdGenerators.BaseConversion.Base36Converter

Afficher le fichier Open project: piranout/Funcular.IdGenerators

Méthodes publiques

Méthode Description
Decode ( string input ) : System.Int64

Decode the Base36 Encoded string into a number

Encode ( long input ) : String

Encode the given number into a Base36 string

FromGuid ( System.Guid guid ) : string
FromHex ( string hex ) : string
FromInt32 ( int int32 ) : string
FromInt64 ( long int64 ) : string
FromLong ( long decimalNumber ) : string

Converts the given decimal number to the numeral system with the specified radix (in the range [2, 36]).

Private Methods

Méthode Description
Base36Converter ( ) : System

Method Details

Decode() public static méthode

Decode the Base36 Encoded string into a number
public static Decode ( string input ) : System.Int64
input string
Résultat System.Int64

Encode() public static méthode

Encode the given number into a Base36 string
public static Encode ( long input ) : String
input long
Résultat String

FromGuid() public static méthode

public static FromGuid ( System.Guid guid ) : string
guid System.Guid
Résultat string

FromHex() public static méthode

public static FromHex ( string hex ) : string
hex string
Résultat string

FromInt32() public static méthode

public static FromInt32 ( int int32 ) : string
int32 int
Résultat string

FromInt64() public static méthode

public static FromInt64 ( long int64 ) : string
int64 long
Résultat string

FromLong() public static méthode

Converts the given decimal number to the numeral system with the specified radix (in the range [2, 36]).
public static FromLong ( long decimalNumber ) : string
decimalNumber long The number to convert.
Résultat string