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

Function garrow_gio_input_stream_new

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

* garrow_gio_input_stream_new: * @gio_input_stream: The stream to be read. * * Returns: (transfer full): A newly created #GArrowGIOInputStream. * * Since: 0.5.0 */

Source from the content-addressed store, hash-verified

1028 * Since: 0.5.0
1029 */
1030GArrowGIOInputStream *
1031garrow_gio_input_stream_new(GInputStream *gio_input_stream)
1032{
1033 auto arrow_input_stream = std::make_shared<garrow::GIOInputStream>(gio_input_stream);
1034 auto object = g_object_new(GARROW_TYPE_GIO_INPUT_STREAM,
1035 "input-stream",
1036 &arrow_input_stream,
1037 "raw",
1038 gio_input_stream,
1039 NULL);
1040 auto input_stream = GARROW_GIO_INPUT_STREAM(object);
1041 return input_stream;
1042}
1043
1044/**
1045 * garrow_gio_input_stream_get_raw:

Callers 1

service_incomingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected