Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getByteCount (0.06 sec)

  1. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                SMBUtil.writeInt2(20, buffer, SmbConstants.SMB1_HEADER_LENGTH + 11);
    
                int length = customBlock.decode(buffer, 0);
    
                assertTrue(length > 0);
                assertEquals(20, customBlock.getByteCount());
            }
    
            @Test
            @DisplayName("Test write string with odd Unicode alignment")
            void testWriteStringUnicodeAlignment() {
                testBlock.setUseUnicode(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.command = (byte) command;
        }
    
        /**
         * Gets the byte count of this message block
         * @return the byteCount
         */
        public final int getByteCount() {
            return this.byteCount;
        }
    
        /**
         * Gets the total length of this message block
         * @return the length
         */
        public final int getLength() {
            return this.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top