discord-jadx/app/src/main/java/b/g/a/c/i0/s.java

297 lines
6.7 KiB
Java
Raw Normal View History

2021-12-21 23:37:30 +00:00
package b.g.a.c.i0;
import b.g.a.b.d;
import b.g.a.b.e;
import b.g.a.b.g;
import b.g.a.b.h;
import b.g.a.b.i;
import b.g.a.b.k;
import b.g.a.b.o.b;
2021-06-27 20:44:35 +00:00
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import java.math.BigInteger;
2022-03-02 20:59:20 +00:00
/* compiled from: TokenBuffer.java */
2022-03-08 21:11:21 +00:00
/* loaded from: classes3.dex */
2021-06-27 20:44:35 +00:00
public class s extends d {
2021-12-17 22:03:14 +00:00
public int m;
2021-06-27 20:44:35 +00:00
2022-03-02 20:59:20 +00:00
/* compiled from: TokenBuffer.java */
2022-03-08 21:11:21 +00:00
/* loaded from: classes3.dex */
2021-06-27 20:44:35 +00:00
public static final class a extends b {
2021-12-17 22:03:14 +00:00
public int n = -1;
public t o = new t();
public boolean p;
2021-06-27 20:44:35 +00:00
public a(i iVar, boolean z2, boolean z3, g gVar) {
super(0);
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.f
2021-06-27 20:44:35 +00:00
public e a() {
2021-12-17 22:03:14 +00:00
return e.j;
2021-06-27 20:44:35 +00:00
}
@Override // java.io.Closeable, java.lang.AutoCloseable
public void close() throws IOException {
2021-12-17 22:03:14 +00:00
if (!this.p) {
this.p = true;
2021-06-27 20:44:35 +00:00
}
}
}
static {
d.a.f();
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-11-08 18:25:28 +00:00
public void A() throws IOException {
2021-06-27 20:44:35 +00:00
h hVar = h.VALUE_NULL;
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public void C(double d) throws IOException {
2021-11-08 18:25:28 +00:00
o0(h.VALUE_NUMBER_FLOAT, Double.valueOf(d));
2021-06-27 20:44:35 +00:00
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-11-08 18:25:28 +00:00
public void D(float f) throws IOException {
o0(h.VALUE_NUMBER_FLOAT, Float.valueOf(f));
2021-06-27 20:44:35 +00:00
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public void H(int i) throws IOException {
2021-11-08 18:25:28 +00:00
o0(h.VALUE_NUMBER_INT, Integer.valueOf(i));
2021-06-27 20:44:35 +00:00
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public void I(long j) throws IOException {
2021-11-08 18:25:28 +00:00
o0(h.VALUE_NUMBER_INT, Long.valueOf(j));
2021-06-27 20:44:35 +00:00
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-11-08 18:25:28 +00:00
public void J(String str) throws IOException {
o0(h.VALUE_NUMBER_FLOAT, str);
2021-06-27 20:44:35 +00:00
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-11-08 18:25:28 +00:00
public void L(BigDecimal bigDecimal) throws IOException {
2021-06-27 20:44:35 +00:00
if (bigDecimal == null) {
2021-11-08 18:25:28 +00:00
A();
2021-06-27 20:44:35 +00:00
throw null;
} else {
2021-11-08 18:25:28 +00:00
o0(h.VALUE_NUMBER_FLOAT, bigDecimal);
2021-06-27 20:44:35 +00:00
throw null;
}
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public void N(BigInteger bigInteger) throws IOException {
if (bigInteger == null) {
2021-11-08 18:25:28 +00:00
A();
2021-06-27 20:44:35 +00:00
throw null;
} else {
2021-11-08 18:25:28 +00:00
o0(h.VALUE_NUMBER_INT, bigInteger);
2021-06-27 20:44:35 +00:00
throw null;
}
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-11-08 18:25:28 +00:00
public void O(short s2) throws IOException {
o0(h.VALUE_NUMBER_INT, Short.valueOf(s2));
2021-06-27 20:44:35 +00:00
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
public void R(char c) throws IOException {
2021-11-08 18:25:28 +00:00
r0();
2021-06-27 20:44:35 +00:00
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public void S(k kVar) throws IOException {
2021-11-08 18:25:28 +00:00
r0();
2021-06-27 20:44:35 +00:00
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public void T(String str) throws IOException {
2021-11-08 18:25:28 +00:00
r0();
2021-06-27 20:44:35 +00:00
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public void U(char[] cArr, int i, int i2) throws IOException {
2021-11-08 18:25:28 +00:00
r0();
2021-06-27 20:44:35 +00:00
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public void V(String str) throws IOException {
h hVar = h.VALUE_EMBEDDED_OBJECT;
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public final void W() throws IOException {
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-11-08 18:25:28 +00:00
public void X(Object obj) throws IOException {
2021-06-27 20:44:35 +00:00
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public d b(d.a aVar) {
2021-12-17 22:03:14 +00:00
this.m = (~aVar.h()) & this.m;
2021-06-27 20:44:35 +00:00
return this;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public void b0(Object obj, int i) throws IOException {
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public g c() {
return null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public final void c0() throws IOException {
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d, java.io.Closeable, java.lang.AutoCloseable
2021-06-27 20:44:35 +00:00
public void close() throws IOException {
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public boolean d(d.a aVar) {
2021-12-17 22:03:14 +00:00
return (aVar.h() & this.m) != 0;
2021-06-27 20:44:35 +00:00
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-11-08 18:25:28 +00:00
public void d0(Object obj) throws IOException {
2021-06-27 20:44:35 +00:00
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
public int f(b.g.a.b.a aVar, InputStream inputStream, int i) {
2021-06-27 20:44:35 +00:00
throw new UnsupportedOperationException();
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public void f0(Object obj, int i) throws IOException {
throw null;
}
@Override // java.io.Flushable
public void flush() throws IOException {
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-11-08 18:25:28 +00:00
public void g0(k kVar) throws IOException {
2021-06-27 20:44:35 +00:00
if (kVar == null) {
2021-11-08 18:25:28 +00:00
A();
2021-06-27 20:44:35 +00:00
throw null;
} else {
2021-11-08 18:25:28 +00:00
o0(h.VALUE_STRING, kVar);
2021-06-27 20:44:35 +00:00
throw null;
}
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-11-08 18:25:28 +00:00
public void j0(String str) throws IOException {
2021-06-27 20:44:35 +00:00
if (str == null) {
2021-11-08 18:25:28 +00:00
A();
2021-06-27 20:44:35 +00:00
throw null;
} else {
2021-11-08 18:25:28 +00:00
o0(h.VALUE_STRING, str);
2021-06-27 20:44:35 +00:00
throw null;
}
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-11-08 18:25:28 +00:00
public void m0(char[] cArr, int i, int i2) throws IOException {
j0(new String(cArr, i, i2));
2021-06-27 20:44:35 +00:00
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
public void n(b.g.a.b.a aVar, byte[] bArr, int i, int i2) throws IOException {
2021-06-27 20:44:35 +00:00
byte[] bArr2 = new byte[i2];
System.arraycopy(bArr, i, bArr2, 0, i2);
writeObject(bArr2);
throw null;
}
2021-11-08 18:25:28 +00:00
public final void o0(h hVar, Object obj) {
2021-06-27 20:44:35 +00:00
throw null;
}
2021-11-08 18:25:28 +00:00
public void r0() {
throw new UnsupportedOperationException("Called operation not supported for TokenBuffer");
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public void s(boolean z2) throws IOException {
if (z2) {
h hVar = h.VALUE_TRUE;
} else {
h hVar2 = h.VALUE_FALSE;
}
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public final void t() throws IOException {
h hVar = h.END_ARRAY;
throw null;
}
public String toString() {
2021-12-21 23:37:30 +00:00
StringBuilder R = b.d.b.a.a.R("[TokenBuffer: ");
2021-06-27 20:44:35 +00:00
new a(null, false, false, null);
2021-11-08 18:25:28 +00:00
R.append(']');
return R.toString();
2021-06-27 20:44:35 +00:00
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-11-08 18:25:28 +00:00
public final void u() throws IOException {
2021-06-27 20:44:35 +00:00
h hVar = h.END_OBJECT;
throw null;
}
public void writeObject(Object obj) throws IOException {
if (obj == null) {
2021-11-08 18:25:28 +00:00
A();
2021-06-27 20:44:35 +00:00
throw null;
} else if (obj.getClass() == byte[].class || (obj instanceof o)) {
2021-11-08 18:25:28 +00:00
o0(h.VALUE_EMBEDDED_OBJECT, obj);
2021-06-27 20:44:35 +00:00
throw null;
} else {
2021-11-08 18:25:28 +00:00
o0(h.VALUE_EMBEDDED_OBJECT, obj);
2021-06-27 20:44:35 +00:00
throw null;
}
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-06-27 20:44:35 +00:00
public void x(k kVar) throws IOException {
kVar.getValue();
throw null;
}
2021-12-21 23:37:30 +00:00
@Override // b.g.a.b.d
2021-11-08 18:25:28 +00:00
public final void y(String str) throws IOException {
2021-06-27 20:44:35 +00:00
throw null;
}
}