{"id":16989961,"url":"https://github.com/x39/extfileio","last_synced_at":"2025-06-20T00:08:55.454Z","repository":{"id":55036255,"uuid":"326521688","full_name":"X39/extFileIO","owner":"X39","description":"ArmA 3 FileIO implementation","archived":false,"fork":false,"pushed_at":"2021-01-13T23:28:42.000Z","size":36,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T03:13:17.630Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/X39.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-03T23:33:02.000Z","updated_at":"2022-12-15T21:26:28.000Z","dependencies_parsed_at":"2022-08-14T09:50:12.220Z","dependency_job_id":null,"html_url":"https://github.com/X39/extFileIO","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/X39/extFileIO","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X39%2FextFileIO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X39%2FextFileIO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X39%2FextFileIO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X39%2FextFileIO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/X39","download_url":"https://codeload.github.com/X39/extFileIO/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X39%2FextFileIO/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260852155,"owners_count":23072604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T03:08:33.922Z","updated_at":"2025-06-20T00:08:50.309Z","avatar_url":"https://github.com/X39.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Return Codes\n\n| Value | Description |\n|-------|-------------|\n| -1    | An error occured. Check the actual result for more informations. |\n| 0     | Method was executed fine. |\n| 1     | The method could not fill the entire buffer to the end. Use the returned value with method `?` until a different return code got returned to get the full result. |\n\n# Methods\n\n*Note: in the following table, required parameters are marked in **bold***\n\n| Name  | Returns                          |          arg0          |          arg1           |                  arg2                |\n|-------|----------------------------------|------------------------|-------------------------|--------------------------------------|\n| ?     | Partial result of the prior call | **long-result** id     |                         |                                      |\n| read  | *ARRAY* of *SCALAR*s or *STRING* | **file-path** *STRING* |    read-mode *STRING*   |                                      |\n| write |             *NOTHING*            | **file-path** *STRING* | **write-mode** *STRING* | **contents** **STRING** or **ARRAY** |\n| list  |   *ARRAY* of *file-descriptor*   | **dir-path** *STRING*  |      filter *STRING*    |                                      |\n\n\n*Note: following table describes the different \"types\" used above. It is assumed that one knows the basic arma types, written in UPPERCASE*\n\n| Type            | Description                                     |\n|-----------------|-------------------------------------------------|\n| long-result     | A long-result is returned, whenever the result is too large to fit in a single `callExtension` call. Use it with the Method `?` to receive the full contents. |\n| file-path       | A path to a valid, existing file.               |\n| dir-path        | A path to a valid, existing directory (folder). |\n| file-descriptor | An array, consisting of two strings. First string always will be either `d` (Directory) or `f` (File). Second string is the path. Example: `[\"f\", \"C:/path/to/file.sqf\"]` |\n| read-mode       | A combination of the characters \u003cul\u003e\u003cli\u003e`b` (binary - reads the file in, in binary mode, returning an *ARRAY* of *SCALAR*s)\u003c/li\u003e\u003cli\u003e`i` (input - automatically set; Tells that you want to read a file)\u003c/li\u003e\u003c/ul\u003e|\n| write-mode      | A combination of the characters \u003cul\u003e\u003cli\u003e`t` (truncate - clear/create file and write)\u003c/li\u003e\u003cli\u003e`a` (truncate - clear/create file and write)\u003c/li\u003e\u003cli\u003e`o` (input - automatically set; Tells that you want to read a file)\u003c/li\u003e\u003cli\u003e`b` (binary - writes the file out, in binary mode, expecting an *ARRAY* of *SCALAR*s as input)\u003c/li\u003e\u003c/ul\u003e|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx39%2Fextfileio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fx39%2Fextfileio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx39%2Fextfileio/lists"}