cpp/src/arrow/util/basic_decimal.cc
/// \brief Build a BasicDecimal128 from a big endian array of uint32_t.
\brief Build a BasicDecimal128 from a big endian array of uint32_t.
\ brief Build a BasicDecimal128 from a big endian array of uint32_t .
static DecimalStatus BuildFromArray(BasicDecimal128* value, const uint32_t* array,
                                    int64_t length) {
  std::array<uint64_t, 2> result_array;
  auto status = BuildFromArray(&result_array, array, length);
  if (status != DecimalStatus::kSuccess) {
    return status;
  }
  *value = {static_cast<int64_t>(result_array[1]), result_array[0]};
  return DecimalStatus::kSuccess;
}
static DecimalStatus BuildFromArray ( BasicDecimal128 * value , const uint32_t * array , int64_t length ) { std :: array < uint64_t , 2 > result_array ; auto status = BuildFromArray ( & result_array , array , length ) ; if ( status != DecimalStatus :: kSuccess ) { return status ; } * value = { static_cast < int64_t > ( result_array [ 1 ] ) , result_array [ 0 ] } ; return DecimalStatus :: kSuccess ; }
\brief Build a BasicDecimal128 from a big endian array of uint32_t.
\ brief Build a BasicDecimal128 from a big endian array of uint32_t .