Files
rr3-apk/decompiled-community/sources/com/google/firebase/encoders/proto/LengthCountingOutputStream.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

32 lines
780 B
Java

package com.google.firebase.encoders.proto;
import java.io.OutputStream;
/* loaded from: classes3.dex */
public final class LengthCountingOutputStream extends OutputStream {
public long length = 0;
public long getLength() {
return this.length;
}
@Override // java.io.OutputStream
public void write(int i) {
this.length++;
}
@Override // java.io.OutputStream
public void write(byte[] bArr) {
this.length += bArr.length;
}
@Override // java.io.OutputStream
public void write(byte[] bArr, int i, int i2) {
int i3;
if (i < 0 || i > bArr.length || i2 < 0 || (i3 = i + i2) > bArr.length || i3 < 0) {
throw new IndexOutOfBoundsException();
}
this.length += i2;
}
}