#harmony-os #open-harmony #file #ffi #rawfile

ohos-rawfile-sys

Raw Bindings to the rawfile API of OpenHarmony

3 releases

0.1.3 Dec 15, 2025
0.1.2 Jun 27, 2025
0.1.0 Jan 11, 2025

#22 in #harmony-os


Used in 2 crates

Apache-2.0

33KB
353 lines

Bindings to the rawfile APIs

Overview

The OpenHarmony rawfile API allows the user to access so-called rawfiles that are bundled into the hap bundle.

You can use the APIs to traverse, open, search for, read, and close raw files. The rawfile APIs are non-thread-safe. Only the close and open APIs are thread-safe.

See also the official rawfile documentation.

Feature flags


OpenHarmony rawfile bindings

The OpenHarmony rawfile API allows the user to access so-called rawfiles that are bundled into the hap bundle.

License

Licensed under the Apache-2.0 license, matching the license of OpenHarmony.

Dependencies

~29KB