[−][src]Function wedpr_ffi_common::utils::java_jbytes_to_bytes
pub fn java_jbytes_to_bytes(
_env: &JNIEnv<'_>,
java_bytes: JByteBuffer<'_>
) -> Result<Vec<u8>, WedprError>
Converts Java bytes to Rust bytes.
pub fn java_jbytes_to_bytes(
_env: &JNIEnv<'_>,
java_bytes: JByteBuffer<'_>
) -> Result<Vec<u8>, WedprError>
Converts Java bytes to Rust bytes.