BooleanArray


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "0.4.0" ) ]
public BooleanArray (int64 length, Buffer data, Buffer? null_bitmap, int64 n_nulls)

Parameters:

length

The number of elements.

data

The binary data in Arrow format of the array.

null_bitmap

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 specified, the number of nulls are computed from null_bitmap.

Returns:

A newly created BooleanArray.