what-the-bank/sources/net/sourceforge/zbar/Image.java

53 lines
1003 B
Java

package net.sourceforge.zbar;
/* loaded from: classes6.dex */
public class Image {
private Object data;
public long peer;
public static native void init();
public native long convert(long j, String str);
public native long create();
public native void destroy(long j);
public native void setData(byte[] bArr);
public native void setData(int[] iArr);
public native void setFormat(String str);
public native void setSize(int i, int i2);
protected void finalize() {
synchronized (this) {
long j = this.peer;
if (j != 0) {
destroy(j);
this.peer = 0L;
}
}
}
public Image(long j) {
this.peer = j;
}
public Image(int i, int i2, String str) {
this();
setSize(i, i2);
setFormat(str);
}
public Image() {
this.peer = create();
}
static {
System.loadLibrary("s4515e");
init();
}
}