- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
50 lines
1.6 KiB
Java
50 lines
1.6 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import java.io.ByteArrayOutputStream;
|
|
import java.io.IOException;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzaqq extends ByteArrayOutputStream {
|
|
private final zzaqd zza;
|
|
|
|
public zzaqq(zzaqd zzaqdVar, int i) {
|
|
this.zza = zzaqdVar;
|
|
((ByteArrayOutputStream) this).buf = zzaqdVar.zzb(Math.max(i, 256));
|
|
}
|
|
|
|
private final void zza(int i) {
|
|
int i2 = ((ByteArrayOutputStream) this).count;
|
|
if (i2 + i <= ((ByteArrayOutputStream) this).buf.length) {
|
|
return;
|
|
}
|
|
int i3 = i2 + i;
|
|
byte[] zzb = this.zza.zzb(i3 + i3);
|
|
System.arraycopy(((ByteArrayOutputStream) this).buf, 0, zzb, 0, ((ByteArrayOutputStream) this).count);
|
|
this.zza.zza(((ByteArrayOutputStream) this).buf);
|
|
((ByteArrayOutputStream) this).buf = zzb;
|
|
}
|
|
|
|
@Override // java.io.ByteArrayOutputStream, java.io.OutputStream, java.io.Closeable, java.lang.AutoCloseable
|
|
public final void close() throws IOException {
|
|
this.zza.zza(((ByteArrayOutputStream) this).buf);
|
|
((ByteArrayOutputStream) this).buf = null;
|
|
super.close();
|
|
}
|
|
|
|
public final void finalize() {
|
|
this.zza.zza(((ByteArrayOutputStream) this).buf);
|
|
}
|
|
|
|
@Override // java.io.ByteArrayOutputStream, java.io.OutputStream
|
|
public final synchronized void write(int i) {
|
|
zza(1);
|
|
super.write(i);
|
|
}
|
|
|
|
@Override // java.io.ByteArrayOutputStream, java.io.OutputStream
|
|
public final synchronized void write(byte[] bArr, int i, int i2) {
|
|
zza(i2);
|
|
super.write(bArr, i, i2);
|
|
}
|
|
}
|