Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEncodeDecode_RoundTrip (0.37 sec)

  1. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

            assertNull("Null should return null", result);
        }
    
        /**
         * Test encode/decode round trip with various data
         *
         * @throws Exception
         */
        public void testEncodeDecode_RoundTrip() throws Exception {
            // Test with ASCII text
            final String text = "Hello, World!";
            final byte[] textBytes = text.getBytes("UTF-8");
            final String encoded = Base64Util.encode(textBytes);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top