StreamDecoder.consumeBytes

bool consumeBytes(glib.bytes.Bytes bytes)

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.

Parameters

bytesA #GBytes to be decoded.

Returns

true on success, false if there was an error.

Throws

[ErrorWrap]