49 lines
1.3 KiB
Java
49 lines
1.3 KiB
Java
|
package c.i.a.c.i2;
|
||
|
|
||
|
import com.airbnb.lottie.parser.AnimatableValueParser;
|
||
|
import java.io.BufferedOutputStream;
|
||
|
import java.io.IOException;
|
||
|
import java.io.OutputStream;
|
||
|
/* compiled from: ReusableBufferedOutputStream */
|
||
|
public final class y extends BufferedOutputStream {
|
||
|
public boolean i;
|
||
|
|
||
|
public y(OutputStream outputStream) {
|
||
|
super(outputStream);
|
||
|
}
|
||
|
|
||
|
public y(OutputStream outputStream, int i) {
|
||
|
super(outputStream, i);
|
||
|
}
|
||
|
|
||
|
public void a(OutputStream outputStream) {
|
||
|
AnimatableValueParser.D(this.i);
|
||
|
((BufferedOutputStream) this).out = outputStream;
|
||
|
((BufferedOutputStream) this).count = 0;
|
||
|
this.i = false;
|
||
|
}
|
||
|
|
||
|
@Override // java.io.OutputStream, java.io.Closeable, java.io.FilterOutputStream, java.lang.AutoCloseable
|
||
|
public void close() throws IOException {
|
||
|
Throwable th;
|
||
|
this.i = true;
|
||
|
try {
|
||
|
flush();
|
||
|
th = null;
|
||
|
} catch (Throwable th2) {
|
||
|
th = th2;
|
||
|
}
|
||
|
try {
|
||
|
((BufferedOutputStream) this).out.close();
|
||
|
} catch (Throwable th3) {
|
||
|
if (th == null) {
|
||
|
th = th3;
|
||
|
}
|
||
|
}
|
||
|
if (th != null) {
|
||
|
int i = f0.a;
|
||
|
throw th;
|
||
|
}
|
||
|
}
|
||
|
}
|