consume_buffer


Description:

[ Version ( since = "18.0.0" ) ]
public bool consume_buffer (Buffer buffer) throws Error

Feed data to the decoder as a Buffer.

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.

buffer

A Buffer to be decoded.

Returns:

true on success, false if there was an error.