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

Method newByteArray

valdi/src/valdi/android/JavaValueDelegate.cpp:167–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165
166JavaValue JavaValueDelegate::newBool(bool value, Valdi::ExceptionTracker& exceptionTracker) {
167 return JavaValue::makeBoolean(value ? 1 : 0);
168}
169
170JavaValue JavaValueDelegate::newBoolObject(bool value, Valdi::ExceptionTracker& exceptionTracker) {
171 return JavaValue::makeObject(newJavaBooleanObject(value));
172}

Callers

nothing calls this directly

Calls 4

makeObjectFunction · 0.85
newJavaByteArrayFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected