類別

ArrowInputStream

描述

class Arrow.InputStream : Gio.InputStream {
  parent_instance: GInputStream
}
無可用描述。

繼承自

實作介面

實例方法

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

完成串流跳過操作。

繼承自 GObject 的方法 (43)

完整的方法列表請參閱 GObject

繼承自 GArrowFile 的方法 (4)
garrow_file_close
無可用描述。

garrow_file_get_mode
無可用描述。

garrow_file_is_closed
無可用描述。

since: 0.13.0

garrow_file_tell
無可用描述。

繼承自 GArrowReadable 的方法 (2)
garrow_readable_read
無可用描述。

garrow_readable_read_bytes
無可用描述。

since: 0.17.0

屬性

Arrow.InputStream:input-stream
無可用描述。

信號

繼承自 GObject 的信號 (1)
GObject::notify

當物件的其中一個屬性透過 g_object_set_property()、g_object_set() 等設定其值時,會發出 notify 信號。

類別結構

struct ArrowInputStreamClass {
  GInputStreamClass parent_class;
  
}
無可用描述。
類別成員
parent_class: GInputStreamClass
無可用描述。