ohos-native-buffer-sys 0.1.3

OpenHarmony's native buffer binding for rust
Documentation
  • Coverage
  • 84.3%
    188 out of 223 items documented0 out of 21 items with examples
  • Size
  • Source code size: 47.1 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.9 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • richerfu

ohos-native-buffer-sys

This crate provides low-level sys bindings for the native buffer module in OpenHarmony.

Install

cargo add ohos-native-buffer-sys

Usage

Add this crate to your native module and import it from Rust code:

use ohos_native_buffer_sys as sys;

unsafe {
    // Call the raw FFI functions exposed by `sys` after checking
    // the corresponding OpenHarmony or HarmonyOS API requirements.
}

License

MIT OR Apache-2.0