@Test public void testUninterpretThrowsArrayIndexOutOfBoundsException() throws Throwable { assertThrows(ArrayIndexOutOfBoundsException.class, () -> { byte[] rawData = new byte[3]; BCDInterpreter.RIGHT_PADDED_F.uninterpret(rawData, 100, 1000); }); }
public String uninterpret(byte[] rawData, int offset, int length) { return ISOUtil.bcd2str (rawData, offset, length, leftPadded); }
BCDInterpreter implements Interpreter { public String uninterpret(byte[] rawData, int offset, int length) { return ISOUtil.bcd2str (rawData, offset, length, leftPadded); } }
BCDInterpreter implements Interpreter { public String uninterpret(byte[] rawData, int offset, int length) { return ISOUtil.bcd2str (rawData, offset, length, leftPadded); } private  BCDInterpreter(boolean leftPadded, boolean fPadded); }
BCDInterpreter implements Interpreter { public String uninterpret(byte[] rawData, int offset, int length) { return ISOUtil.bcd2str (rawData, offset, length, leftPadded); } private  BCDInterpreter(boolean leftPadded, boolean fPadded); void interpret(String data, byte[] b, int offset); String uninterpret(byte[] rawData, int offset, int length); int getPackedLength(int nDataUnits); }
BCDInterpreter implements Interpreter { public String uninterpret(byte[] rawData, int offset, int length) { return ISOUtil.bcd2str (rawData, offset, length, leftPadded); } private  BCDInterpreter(boolean leftPadded, boolean fPadded); void interpret(String data, byte[] b, int offset); String uninterpret(byte[] rawData, int offset, int length); int getPackedLength(int nDataUnits); static final BCDInterpreter LEFT_PADDED; static final BCDInterpreter RIGHT_PADDED; static final BCDInterpreter RIGHT_PADDED_F; static final BCDInterpreter LEFT_PADDED_F; }