append_values_packed


Description:

[ Version ( since = "3.0.0" ) ]
public bool append_values_packed (Bytes values, bool[]? is_valids) throws Error

Append multiple values at once.

It's more efficient than multiple `append` and `append_null` calls.

This is more efficient than append_values.

Parameters:

this

A FixedSizeBinaryArrayBuilder.

values

A Bytes that contains multiple values.

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is true, the Nth values is valid value. Otherwise the Nth value is null value.

is_valids_length

The length of is_valids.

Returns:

true on success, false if there was an error.