Function byte_array_to_vec

Source
pub fn byte_array_to_vec<'a>(
    env: &'a JNIEnv<'a>,
    obj: jbyteArray,
) -> Result<Vec<u8>>
Expand description

Get a Vec of bytes from the given Java byte array.

ยงArguments

  • env - Java environment to use.
  • obj - Byte array to convert into a Vec.