public abstract class CharToByteDBCS_EBCDIC extends CharToByteConverter {
private static final int SBCS = 0;
private static final int DBCS = 1;
// $FF: renamed from: SO byte
private static final byte field_0 = 14;
// $FF: renamed from: SI byte
private static final byte field_1 = 15;
private int currentState = 0;
private char highHalfZoneCode = 0;
private byte[] outputByte = new byte[2];
protected short[] index1;
protected String index2;
protected String index2a;
protected int mask1;
protected int mask2;
protected int shift;
public int flush(byte[] var1, int var2, int var3) throws MalformedInputException, ConversionBufferFullException {
int var4 = 0;
if (this.highHalfZoneCode != 0) {
this.reset();
super.badInputLength = 0;
throw new MalformedInputException();
} else {
if (this.currentState == 1) {
if (var2 >= var3) {
throw new ConversionBufferFullException();
}
var1[var2] = 15;
++var4;
}
this.reset();
return var4;
}
}
public int convert(char[] var1, int var2, int var3, byte[] var4, int var5, int var6) throws UnknownCharacterException, MalformedInputException, ConversionBufferFullException {