* garrow_stream_decoder_reset: * @decoder: A #GArrowStreamDecoder. * @error: (nullable): Return location for a #GError or %NULL. * * Reset the internal status. * * You can reuse this decoder for new stream after calling this. * * Returns: %TRUE on success, %FALSE if there was an error. * * Since: 18.0.0 */
| 479 | * Since: 18.0.0 |
| 480 | */ |
| 481 | gboolean |
| 482 | garrow_stream_decoder_reset(GArrowStreamDecoder *decoder, GError **error) |
| 483 | { |
| 484 | auto arrow_decoder = garrow_stream_decoder_get_raw(decoder); |
| 485 | return garrow::check(error, arrow_decoder->Reset(), "[stream-decoder][reset]"); |
| 486 | } |
| 487 | |
| 488 | /** |
| 489 | * garrow_stream_decoder_get_schema: |
nothing calls this directly
no test coverage detected