Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testEncodeDecode_RoundTrip (0.36 seconds)

  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);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top