package o; import java.io.InputStream; import java.io.OutputStream; /* loaded from: classes6.dex */ public final class gbH { public static final long e(InputStream inputStream, OutputStream outputStream, int i) { C14957gcv.e(inputStream, ""); C14957gcv.e(outputStream, ""); byte[] bArr = new byte[8192]; int read = inputStream.read(bArr); long j = 0; while (read >= 0) { outputStream.write(bArr, 0, read); j += read; read = inputStream.read(bArr); } return j; } }