* garrow_uint16_array_get_value: * @array: A #GArrowUInt16Array. * @i: The index of the target value. * * Returns: The @i-th value. */
| 1803 | * Returns: The @i-th value. |
| 1804 | */ |
| 1805 | guint16 |
| 1806 | garrow_uint16_array_get_value(GArrowUInt16Array *array, gint64 i) |
| 1807 | { |
| 1808 | auto arrow_array = garrow_array_get_raw(GARROW_ARRAY(array)); |
| 1809 | return static_cast<arrow::UInt16Array *>(arrow_array.get())->Value(i); |
| 1810 | } |
| 1811 | |
| 1812 | /** |
| 1813 | * garrow_uint16_array_get_values: |
nothing calls this directly
no test coverage detected