C# Класс Funcular.IdGenerators.BaseConversion.Base36Converter

Показать файл Открыть проект

Открытые методы

Метод Описание
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]).

Приватные методы

Метод Описание
Base36Converter ( ) : System

Описание методов

Decode() публичный статический Метод

Decode the Base36 Encoded string into a number
public static Decode ( string input ) : System.Int64
input string
Результат System.Int64

Encode() публичный статический Метод

Encode the given number into a Base36 string
public static Encode ( long input ) : String
input long
Результат String

FromGuid() публичный статический Метод

public static FromGuid ( System.Guid guid ) : string
guid System.Guid
Результат string

FromHex() публичный статический Метод

public static FromHex ( string hex ) : string
hex string
Результат string

FromInt32() публичный статический Метод

public static FromInt32 ( int int32 ) : string
int32 int
Результат string

FromInt64() публичный статический Метод

public static FromInt64 ( long int64 ) : string
int64 long
Результат string

FromLong() публичный статический Метод

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.
Результат string