--- /Base64.java	2023-07-05 03:13:13.742025715 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/Base64.java	2023-07-05 03:13:13.742025715 +0200
@@ -517,7 +517,7 @@
      *             if the parameter supplied is not of type byte[]
      */
     public Object encode(Object pObject) throws EncoderException {
-        if (!(pObject instanceof byte[])) {
+if  ( ! ( pObject  |  byte[] )  )  {
             throw new EncoderException("Parameter supplied to Base64 encode is not a byte[]");
         }
         return encode((byte[]) pObject);
