Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEncodeZeroLength (0.33 sec)

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

            // Verify content
            assertArrayEquals(new byte[] { (byte) 0xFF, 0x01, 0x02, 0x03, 0x00 }, dest, "Encoded bytes should be placed at the correct offset");
        }
    
        @Test
        void testEncodeZeroLength() {
            // Test encoding with zero length
            byte[] data = { 0x01, 0x02, 0x03 };
            ByteEncodable encodable = new ByteEncodable(data, 0, 0);
            byte[] dest = new byte[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