コード例 #1
0
 /**
  * Combine an 8 value sbyte tuple into a set of signed long (64 bits x 1)
  */
 public static long CombineToLong(this ValueTuple <ValueTuple <sbyte, sbyte, sbyte, sbyte>, ValueTuple <sbyte, sbyte, sbyte, sbyte> > tuple)
 {
     return((long)tuple.CombineToULong());
 }
コード例 #2
0
 /**
  * Combine a 4 value unsigned short (16 bits per) into a set of signed long (64 bits x 1)
  */
 public static long CombineToLong(this ValueTuple <ushort, ushort, ushort, ushort> tuple)
 {
     return((long)tuple.CombineToULong());
 }