Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 2.79 KB

sample_list.md

File metadata and controls

68 lines (42 loc) · 2.79 KB

rust-java samples

Chinese version, 中文版

  1. sample000, call Rust method from Java

  2. sample001, convert Java primitive types to bytes in Rust

  3. sample002, accept a Java object in Rust, and callback to Java

  4. sample003, reverse Java bytes

  5. sample004, access Java DirectBuffer in Rust

  6. sample005, access Java primitive array in Rust

  7. sample006, create Java object in Rust

  8. sample007, set a field to Java object in Rust

  9. sample008, load Java class in Rust

    s008_class_buf.rs is generated by java2u8vec.sh

  10. sample009, register Java method dynamically in Rust

  11. sample010, control Rust thread in Java

  12. sample011, control Rust thread in Java