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:1032–1044  ·  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

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

Callers 1

service_incomingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected