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