MCPcopy Create free account
hub / github.com/apache/arrow / garrow_input_stream_advance

Function garrow_input_stream_advance

c_glib/arrow-glib/input-stream.cpp:242–250  ·  view source on GitHub ↗

* garrow_input_stream_advance: * @input_stream: A #GArrowInputStream. * @n_bytes: The number of bytes to be advanced. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: %TRUE on success, %FALSE on error. * * Since: 0.11.0 */

Source from the content-addressed store, hash-verified

240 * Since: 0.11.0
241 */
242gboolean
243garrow_input_stream_advance(GArrowInputStream *input_stream,
244 gint64 n_bytes,
245 GError **error)
246{
247 auto arrow_input_stream = garrow_input_stream_get_raw(input_stream);
248 auto status = arrow_input_stream->Advance(n_bytes);
249 return garrow_error_check(error, status, "[input-stream][advance]");
250}
251
252/**
253 * garrow_input_stream_align:

Callers

nothing calls this directly

Calls 3

garrow_error_checkFunction · 0.85
AdvanceMethod · 0.45

Tested by

no test coverage detected