\brief Return a read-only version of the offsets buffer Only valid if this is a view into a varbinary type
| 144 | /// |
| 145 | /// Only valid if this is a view into a varbinary type |
| 146 | const uint32_t* offsets() const { |
| 147 | ARROW_DCHECK(!metadata_.is_fixed_length); |
| 148 | ARROW_DCHECK_EQ(metadata_.fixed_length, sizeof(uint32_t)); |
| 149 | return reinterpret_cast<const uint32_t*>(data(kFixedLengthBuffer)); |
| 150 | } |
| 151 | /// \brief Return a mutable version of the large-offsets buffer |
| 152 | /// |
| 153 | /// Only valid if this is a view into a large varbinary type |