MCPcopy Create free account
hub / github.com/apache/arrow / garrow_uint8_array_new

Function garrow_uint8_array_new

c_glib/arrow-glib/basic-array.cpp:1656–1665  ·  view source on GitHub ↗

* garrow_uint8_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 sp

Source from the content-addressed store, hash-verified

1654 * Since: 0.4.0
1655 */
1656GArrowUInt8Array *
1657garrow_uint8_array_new(gint64 length,
1658 GArrowBuffer *data,
1659 GArrowBuffer *null_bitmap,
1660 gint64 n_nulls)
1661{
1662 auto array =
1663 garrow_primitive_array_new<arrow::UInt8Type>(length, data, null_bitmap, n_nulls);
1664 return GARROW_UINT8_ARRAY(array);
1665}
1666
1667/**
1668 * garrow_uint8_array_get_value:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected