StreamDecoder.consumeBuffer

Feed data to the decoder as a #GArrowBuffer.

If the decoder can read one or more record batches by the data, the decoder calls vfuncGArrowStreamListener.on_record_batch_decoded with a decoded record batch multiple times.

class StreamDecoder
bool
consumeBuffer

Parameters

buffer arrow.buffer.Buffer

A #GArrowBuffer to be decoded.

Return Value

Type: bool

true on success, false if there was an error.