\brief Return a writable device address to the buffer's data The buffer has to be a mutable buffer (`is_mutable()` is true). Otherwise, an assertion may be thrown or 0 may be returned.
| 328 | /// The buffer has to be a mutable buffer (`is_mutable()` is true). |
| 329 | /// Otherwise, an assertion may be thrown or 0 may be returned. |
| 330 | uintptr_t mutable_address() const { |
| 331 | #ifndef NDEBUG |
| 332 | CheckMutable(); |
| 333 | #endif |
| 334 | return ARROW_PREDICT_TRUE(is_mutable_) ? reinterpret_cast<uintptr_t>(data_) : 0; |
| 335 | } |
| 336 | |
| 337 | /// \brief Return the buffer's size in bytes |
| 338 | int64_t size() const { return size_; } |
nothing calls this directly
no outgoing calls
no test coverage detected