public static decimal unpackDecimal(byte[] arr, int offs)
{
int[] bits = new int[4];
bits[0] = Bytes.unpack4(arr, offs);
bits[1] = Bytes.unpack4(arr, offs + 4);
bits[2] = Bytes.unpack4(arr, offs + 8);
bits[3] = Bytes.unpack4(arr, offs + 12);
return(new decimal(bits));
}