public static byte[] encodeBase64(byte[] binaryData) {
        return encodeBase64(binaryData, false, false, Integer.MAX_VALUE);
    }
@Test
    void testEncodeOverMaxLength() {
        assertThrows(IllegalArgumentException.class, () -> {
            String a = "very large characters to test chunk encoding and see if the result is expected or not";
            Base64.encodeBase64(a.getBytes(StandardCharsets.UTF_8), false, false, 10);
        });
    }