MCPcopy Create free account
hub / github.com/bluejekyll/wasmtime-java / from_byte_array

Method from_byte_array

wasmtime-jni/src/wasm_value.rs:219–224  ·  view source on GitHub ↗
(_env: &JNIEnv<'j>, jarray: jbyteArray)

Source from the content-addressed store, hash-verified

217
218impl<'j> WasmVal<'j> {
219 fn from_byte_array(_env: &JNIEnv<'j>, jarray: jbyteArray) -> Self {
220 WasmVal::ByteArray {
221 jarray,
222 lifetime: PhantomData,
223 }
224 }
225
226 pub fn ty(&self) -> WasmTy {
227 match self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected