Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEncode_TwoBytes (0.06 sec)

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

            assertEquals("Decoded byte should match", singleByte[0], decoded[0]);
        }
    
        /**
         * Test encode with two bytes
         *
         * @throws Exception
         */
        public void testEncode_TwoBytes() throws Exception {
            final byte[] twoBytes = new byte[] { 'A', 'B' };
            final String encoded = Base64Util.encode(twoBytes);
            assertNotNull("Encoded result should not be null", encoded);
    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