* garrow_uint16_array_new: * @length: The number of elements. * @data: The binary data in Arrow format of the array. * @null_bitmap: (nullable): The bitmap that shows null elements. The * N-th element is null when the N-th bit is 0, not null otherwise. * If the array has no null elements, the bitmap must be %NULL and * @n_nulls is 0. * @n_nulls: The number of null elements. If -1 is s
| 1786 | * Since: 0.4.0 |
| 1787 | */ |
| 1788 | GArrowUInt16Array * |
| 1789 | garrow_uint16_array_new(gint64 length, |
| 1790 | GArrowBuffer *data, |
| 1791 | GArrowBuffer *null_bitmap, |
| 1792 | gint64 n_nulls) |
| 1793 | { |
| 1794 | auto array = |
| 1795 | garrow_primitive_array_new<arrow::UInt16Type>(length, data, null_bitmap, n_nulls); |
| 1796 | return GARROW_UINT16_ARRAY(array); |
| 1797 | } |
| 1798 | |
| 1799 | /** |
| 1800 | * garrow_uint16_array_get_value: |
nothing calls this directly
no outgoing calls
no test coverage detected