StreamDecoder.consumeBytes

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 vfuncGArrowStreamListener.on_record_batch_decoded with a decoded record batch multiple times.

class StreamDecoder
bool
consumeBytes

Parameters

bytes glib.bytes.Bytes

A #GBytes to be decoded.

Return Value

Type: bool

true on success, false if there was an error.