Pointer to element at index (byte arithmetic).
| 165 | |
| 166 | /// Pointer to element at index (byte arithmetic). |
| 167 | void* element_ptr(fl::size index) FL_NOEXCEPT { |
| 168 | return static_cast<char*>(mArray) + index * mElementSize; |
| 169 | } |
| 170 | const void* element_ptr(fl::size index) const FL_NOEXCEPT { |
| 171 | return static_cast<const char*>(mArray) + index * mElementSize; |
| 172 | } |