Exemple #1
0
 /*
  * public static void GetXorSec(byte[] src, int srcIndex, ref short value, XorSecurity xs)
  * {
  *  XorPacketParameter xpp = new XorPacketParameter();
  *  GetXorSec(src, srcIndex, ref value, xs, xpp);
  *
  * }
  */
 public static bool GetXorSec(RingBuffer buffer, int index, XorSecurity xs, XorPacketParameter xpp)
 {
     return(xs.Decode(xpp, buffer, index));
 }
Exemple #2
0
 public static void GetXorSec(byte[] src, int srcIndex, XorSecurity xs, XorPacketParameter xpp)
 {
     xs.Decode(xpp, src, srcIndex);
 }