Exemple #1
0
 protected override byte[] OnConvert(long startPos, byte[] ba)
 {
     return(BinaryEncoding.Instance.GetBytes(StringConverters.BytesToHexString(ba)));
 }
Exemple #2
0
 protected override string OnConvert(long startPos, string s)
 {
     return(StringConverters.BytesToHexString(BinaryEncoding.Instance.GetBytes(s)));
 }