This PR adds support for primitive arrays in to_rust. The Java array will be converted to a Vec with the corresponding element type.
The element type on the Rust side needs to match the one on the Java side. We use signed values for integral values except for char, which is also unsigned in Java.
This PR adds support for primitive arrays in to_rust. The Java array will be converted to a Vec with the corresponding element type.
The element type on the Rust side needs to match the one on the Java side. We use signed values for integral values except for char, which is also unsigned in Java.