C# 클래스 Funcular.IdGenerators.BaseConversion.Base36Converter

파일 보기 프로젝트 열기: piranout/Funcular.IdGenerators

공개 메소드들

메소드 설명
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