23 lines
757 B
Java
23 lines
757 B
Java
package org.bouncycastle.util.test;
|
|
|
|
import java.io.FilterOutputStream;
|
|
import java.io.IOException;
|
|
import java.io.OutputStream;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public class UncloseableOutputStream extends FilterOutputStream {
|
|
@Override // java.io.FilterOutputStream, java.io.OutputStream
|
|
public void write(byte[] bArr, int i, int i2) throws IOException {
|
|
((FilterOutputStream) this).out.write(bArr, i, i2);
|
|
}
|
|
|
|
@Override // java.io.FilterOutputStream, java.io.OutputStream, java.io.Closeable, java.lang.AutoCloseable
|
|
public void close() {
|
|
throw new RuntimeException("close() called on UncloseableOutputStream");
|
|
}
|
|
|
|
public UncloseableOutputStream(OutputStream outputStream) {
|
|
super(outputStream);
|
|
}
|
|
}
|