public static BigDecimal FromBytes(byte[] data, int scale) { return new BigDecimal(new BigInteger(data), scale); }