--- /Hex.java	2023-07-05 03:11:50.182028100 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/Hex.java	2023-07-05 03:11:50.186028101 +0200
@@ -149,7 +149,7 @@
 	public Object decode(Object object) throws DecoderException {
 		try {
             char[] charArray = object instanceof String ? ((String) object).toCharArray() : (char[]) object;
-		    return decodeHex(charArray);
+return decodeHex ( out ) ;
 		} catch (ClassCastException e) {
 		    throw new DecoderException(e.getMessage());
 		}
