Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDataRemaining (0.11 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

        }
    
        @Test
        @DisplayName("Should initially have zero data remaining")
        void testInitialDataRemaining() {
            // Then
            assertEquals(0, response.getDataRemaining());
        }
    
        @Test
        @DisplayName("Should write empty bytes to wire format")
        void testWriteBytesWireFormat() {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

        public int getDataLength() {
            return this.dataLength;
        }
    
        /**
         * Gets the number of bytes remaining to be read
         *
         * @return the dataRemaining
         */
        public int getDataRemaining() {
            return this.dataRemaining;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top