المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Creating Custom Encoding



C# Programming
03-07-2010, 02:40 PM
As you have seen system encodings, ASCII or UTF. I want to create my own, like some value for some specific character. So to do that I simple make a Character class and a collection to hold 'em. But when I need to convert a value to char it iterates the collection until that value is found and thats too slow. But I have another idea which I have tried and also reached nearby the same performance as Encoding.GetString.


So any suggestions guys ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8?mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y

-----------------------------------------------
128 bit encrypted signature, crack if you can