Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for YWJj (0.06 seconds)

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

            // produces the same output as the old custom implementation
    
            // Test case 1: Standard padding
            final byte[] data1 = "abc".getBytes();
            assertEquals("YWJj", Base64Util.encode(data1));
    
            // Test case 2: Single padding
            final byte[] data2 = "abcd".getBytes();
            assertEquals("YWJjZA==", Base64Util.encode(data2));
    
            // Test case 3: Double padding
    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