方法
ArrowFileSystemopen_input_file
自 0.17.0 版本起
宣告 [src]
GArrowSeekableInputStream*
garrow_file_system_open_input_file (
GArrowFileSystem* file_system,
const gchar* path,
GError** error
)
參數
path
-
類型:
const gchar*
輸入檔案的路徑。
資料的所有權屬於函數的呼叫者。 值為以 NUL 結尾的 UTF-8 字串。 error
-
類型:
GError **
可復原錯誤的回傳位置。
參數可以為 NULL
。如果回傳位置不是 NULL
,則您必須將其初始化為NULL
GError*
。如果沒有錯誤,則方法會將參數初始化為 NULL
。如果發生錯誤,參數將被設定為新分配的 GError
;呼叫者將取得資料的所有權,並負責釋放它。