C# Class GameBase.Core.Coding

Mostrar archivo Open project: dream-young-soul/soul

Public Methods

Method Description
GB2312ToLatin1 ( String text ) : String
GB2312ToLatin1 ( byte text ) : String
GB2312ToUtf8 ( String text ) : String
GB2312ToUtf8 ( byte text ) : String
GetDefauleCoding ( ) : Encoding
GetLatin1 ( ) : Encoding
GetUtf8Coding ( ) : Encoding
Latin1ToGB2312 ( String text ) : String
Latin1ToGB2312 ( byte text ) : String
Latin1ToUft8 ( String text ) : String
Latin1ToUft8 ( byte text ) : String
Uft8ToLatin1 ( String text ) : String
Uft8ToLatin1 ( byte text ) : String
Utf8ToGB2312 ( String text ) : String
Utf8ToGB2312 ( byte text ) : String

Private Methods

Method Description
Init ( ) : void

Method Details

GB2312ToLatin1() public static method

public static GB2312ToLatin1 ( String text ) : String
text String
return String

GB2312ToLatin1() public static method

public static GB2312ToLatin1 ( byte text ) : String
text byte
return String

GB2312ToUtf8() public static method

public static GB2312ToUtf8 ( String text ) : String
text String
return String

GB2312ToUtf8() public static method

public static GB2312ToUtf8 ( byte text ) : String
text byte
return String

GetDefauleCoding() public static method

public static GetDefauleCoding ( ) : Encoding
return System.Text.Encoding

GetLatin1() public static method

public static GetLatin1 ( ) : Encoding
return System.Text.Encoding

GetUtf8Coding() public static method

public static GetUtf8Coding ( ) : Encoding
return System.Text.Encoding

Latin1ToGB2312() public static method

public static Latin1ToGB2312 ( String text ) : String
text String
return String

Latin1ToGB2312() public static method

public static Latin1ToGB2312 ( byte text ) : String
text byte
return String

Latin1ToUft8() public static method

public static Latin1ToUft8 ( String text ) : String
text String
return String

Latin1ToUft8() public static method

public static Latin1ToUft8 ( byte text ) : String
text byte
return String

Uft8ToLatin1() public static method

public static Uft8ToLatin1 ( String text ) : String
text String
return String

Uft8ToLatin1() public static method

public static Uft8ToLatin1 ( byte text ) : String
text byte
return String

Utf8ToGB2312() public static method

public static Utf8ToGB2312 ( String text ) : String
text String
return String

Utf8ToGB2312() public static method

public static Utf8ToGB2312 ( byte text ) : String
text byte
return String