* garrow_buffer_get_capacity: * @buffer: A #GArrowBuffer. * * Returns: The number of bytes that where allocated for the buffer in * total. * * Since: 0.3.0 */
| 271 | * Since: 0.3.0 |
| 272 | */ |
| 273 | gint64 |
| 274 | garrow_buffer_get_capacity(GArrowBuffer *buffer) |
| 275 | { |
| 276 | auto arrow_buffer = garrow_buffer_get_raw(buffer); |
| 277 | return arrow_buffer->capacity(); |
| 278 | } |
| 279 | |
| 280 | /** |
| 281 | * garrow_buffer_get_data: |
nothing calls this directly
no test coverage detected