Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEncodeDestinationTooSmall (0.08 sec)

  1. src/test/java/jcifs/util/ByteEncodableTest.java

                encodable.encode(dest, 0);
            }, "Should throw IndexOutOfBoundsException if source offset + length exceeds source array bounds");
        }
    
        @Test
        void testEncodeDestinationTooSmall() {
            // Test when destination array is too small
            byte[] data = { 0x01, 0x02, 0x03 };
            ByteEncodable encodable = new ByteEncodable(data, 0, 3);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top