consume_bytes


Description:

[ Version ( since = "18.0.0" ) ]
public bool consume_bytes (Bytes bytes) throws Error

Feed data to the decoder as a raw data.

If the decoder can read one or more record batches by the data, the decoder calls [vfunc@GArrowStreamListener.on_record_batch_decoded] with a decoded record batch multiple times.

Parameters:

this

A StreamDecoder.

bytes

A Bytes to be decoded.

Returns:

true on success, false if there was an error.