MCPcopy Create free account
hub / github.com/apache/arrow / RawBytesToDecimalBytes

Function RawBytesToDecimalBytes

cpp/src/parquet/arrow/reader_internal.cc:626–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624
625template <typename DecimalType>
626Status RawBytesToDecimalBytes(const uint8_t* value, int32_t byte_width,
627 uint8_t* out_buf) {
628 ARROW_ASSIGN_OR_RAISE(DecimalType t, DecimalType::FromBigEndian(value, byte_width));
629 t.ToBytes(out_buf);
630 return ::arrow::Status::OK();
631}
632
633template <typename DecimalArrayType,
634 typename = ::arrow::enable_if_decimal<typename DecimalArrayType::TypeClass>>

Callers

nothing calls this directly

Calls 2

ToBytesMethod · 0.80
OKFunction · 0.50

Tested by

no test coverage detected