| 346 | /// it is attached to a Array instance. |
| 347 | template <typename T> |
| 348 | inline T* GetMutableValues(int i, int64_t absolute_offset) { |
| 349 | if (buffers[i]) { |
| 350 | return reinterpret_cast<T*>(buffers[i]->mutable_data()) + absolute_offset; |
| 351 | } else { |
| 352 | return NULLPTR; |
| 353 | } |
| 354 | } |
| 355 | |
| 356 | /// \brief Access a buffer's data as a mutable typed C pointer |
| 357 | /// |
nothing calls this directly
no test coverage detected