Exemple #1
0
        // big endian
        public static void bignumSet(SByteVL b, int index, ushort value)
        {
            int x;

            if ((index & 1) == 0)
            {
                x = index + 3;
            }
            else
            {
                x = index + 1;
            }
            b.setUInt16(x, value);
        }
Exemple #2
0
 // big endian
 public static void bignumSet(SByteVL b, int index, ushort value) {
         int x;
         if ((index & 1) == 0) {
                 x = index + 3;
         } else {
                 x = index + 1;
         }
         b.setUInt16(x, value);
 }
Exemple #3
0
     // little endian
 public static void bignumSet(SByteVL b, int index, ushort value) {
     b.setUInt16(index + BIGNUM_DATA_OFFSET, value);
 }
Exemple #4
0
 // little endian
 public static void bignumSet(SByteVL b, int index, ushort value)
 {
     b.setUInt16(index + BIGNUM_DATA_OFFSET, value);
 }