\brief Get the bits of the two's complement representation of the number. The elements are in little endian order. However, the bits within each uint64_t element are in native endian order. For example, BasicDecimal128(123).little_endian_array() = {123, 0};
| 106 | /// uint64_t element are in native endian order. |
| 107 | /// For example, BasicDecimal128(123).little_endian_array() = {123, 0}; |
| 108 | WordArray little_endian_array() const { |
| 109 | return bit_util::little_endian::FromNative(array_); |
| 110 | } |
| 111 | |
| 112 | const uint8_t* native_endian_bytes() const { |
| 113 | return reinterpret_cast<const uint8_t*>(array_.data()); |