类
ArrowCompressedInputStream
实例方法
继承自 GArrowInputStream 的方法 (4)
garrow_input_stream_advance
since: 0.11.0
garrow_input_stream_align
since: 0.11.0
garrow_input_stream_read_record_batch
since: 1.0.0
garrow_input_stream_read_tensor
since: 0.11.0
继承自 GInputStream 的方法 (19)
g_input_stream_clear_pending
清除 stream
上的挂起标志。
g_input_stream_close
关闭流,释放与其相关的资源。
g_input_stream_close_async
请求异步关闭流,释放与其相关的资源。 操作完成后,将调用 callback
。 然后,您可以调用 g_input_stream_close_finish()
以获取操作的结果。
g_input_stream_close_finish
完成异步关闭流的操作,该操作从 g_input_stream_close_async() 开始。
g_input_stream_has_pending
检查输入流是否具有挂起的操作。
g_input_stream_is_closed
检查输入流是否已关闭。
g_input_stream_read
尝试从流中读取 count
个字节到从 buffer
开始的缓冲区中。 在此读取期间将阻塞。
g_input_stream_read_all
尝试从流中读取 count
个字节到从 buffer
开始的缓冲区中。 在此读取期间将阻塞。
g_input_stream_read_all_async
请求从流中异步读取 count
个字节到从 buffer
开始的缓冲区中。
since: 2.44
g_input_stream_read_all_finish
完成使用 g_input_stream_read_all_async() 启动的异步流读取操作。
since: 2.44
g_input_stream_read_async
请求从流中异步读取 count
个字节到从 buffer
开始的缓冲区中。 操作完成后,将调用 callback
。 然后,您可以调用 g_input_stream_read_finish()
以获取操作的结果。
g_input_stream_read_bytes
与 g_input_stream_read() 类似,这尝试以阻塞方式从流中读取 count
个字节。 但是,与其读取到用户提供的缓冲区中,不如创建一个新的 GBytes
,其中包含读取的数据。 从语言绑定中使用起来可能更容易。
since: 2.34
g_input_stream_read_bytes_async
请求从流中异步读取 count
个字节到新的 GBytes
中。 操作完成后,将调用 callback
。 然后,您可以调用 g_input_stream_read_bytes_finish()
以获取操作的结果。
since: 2.34
g_input_stream_read_bytes_finish
完成异步流读取到 GBytes
的操作。
since: 2.34
g_input_stream_read_finish
完成异步流读取操作。
g_input_stream_set_pending
将 stream
设置为具有挂起的操作。 如果已设置挂起标志或 stream
已关闭,它将返回 FALSE
并设置 error
。
g_input_stream_skip
尝试从流中跳过 count
个字节。 在操作期间将阻塞。
g_input_stream_skip_async
请求从流中异步跳过 count
个字节。 操作完成后,将调用 callback
。 然后,您可以调用 g_input_stream_skip_finish()
以获取操作的结果。
g_input_stream_skip_finish
完成流跳过操作。
继承自 GArrowFile 的方法 (4)
garrow_file_close
garrow_file_get_mode
garrow_file_is_closed
since: 0.13.0