package o; import java.io.IOException; import java.io.InputStream; import o.Box; /* loaded from: classes.dex */ public final class Hwg implements Box { public final C16158ljW a; @Override // o.Box public final /* synthetic */ InputStream a() throws IOException { this.a.reset(); return this.a; } public Hwg(InputStream inputStream, Opg opg) { C16158ljW c16158ljW = new C16158ljW(inputStream, opg); this.a = c16158ljW; c16158ljW.mark(5242880); } @Override // o.Box public final void b() { this.a.a(); } /* loaded from: classes.dex */ public static final class HBt implements Box.HBt { private final Opg b; @Override // o.Box.HBt public final /* synthetic */ Box b(InputStream inputStream) { return new Hwg(inputStream, this.b); } public HBt(Opg opg) { this.b = opg; } @Override // o.Box.HBt public final Class a() { return InputStream.class; } } }