MCPcopy Create free account
hub / github.com/Snapchat/Valdi / newJavaLongObject

Function newJavaLongObject

valdi_core/src/valdi_core/jni/JavaUtils.cpp:400–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400djinni::LocalRef<jobject> newJavaLongObject(int64_t value) {
401 auto& cache = JavaCache::get();
402 return cache.getLongClass().newObject(cache.getLongConstructorMethod(), value);
403}
404
405djinni::LocalRef<jbyteArray> newJavaByteArray(const Valdi::Byte* data, size_t length) {
406 const auto bufferSize = static_cast<jsize>(length);

Callers 2

toJavaObjectFunction · 0.85
newLongObjectMethod · 0.85

Calls 2

getFunction · 0.50
newObjectMethod · 0.45

Tested by

no test coverage detected