Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 181 for readBytesWireFormat (0.45 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndXResponse.java

            this.count = SMBUtil.readInt2(buffer, bufferIndex) & 0xFFFFL;
            return 8;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
            return ("SmbComWriteAndXResponse[" + super.toString() + ",count=" + this.count + "]");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComFindClose2.java

            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
            return ("SmbComFindClose2[" + super.toString() + ",sid=" + this.sid + "]");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComOpenAndXResponse.java

            bufferIndex += 2;
            serverFid = readInt4(buffer, bufferIndex);
            bufferIndex += 6;
    
            return bufferIndex - start;
        }
    
        @Override
        int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            assertEquals(0, fnLength);
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat returns 0")
        void testReadBytesWireFormat() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
            byte[] buffer = new byte[100];
    
            int bytesRead = request.readBytesWireFormat(buffer, 0);
    
            assertEquals(0, bytesRead);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        }
    
        @Test
        void testReadBytesWireFormat() {
            // Test readBytesWireFormat - should always return 0
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    
            byte[] buffer = new byte[256];
            int bytesRead = response.readBytesWireFormat(buffer, 0);
    
            assertEquals(0, bytesRead);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            protected int readParameterWordsWireFormat(byte[] src, int srcIndex) {
                paramWordsRead = 10;
                return paramWordsRead;
            }
    
            @Override
            protected int readBytesWireFormat(byte[] src, int srcIndex) {
                bytesRead = 20;
                return bytesRead;
            }
    
            @Override
            public boolean isRetainPayload() {
                return retainPayload;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComDelete.java

            return dstIndex - start;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

            assertEquals(0, result);
        }
    
        @Test
        public void testReadBytesWireFormat() {
            // This method is expected to do nothing and return 0
            int result = smbComDelete.readBytesWireFormat(new byte[0], 0);
            assertEquals(0, result);
        }
    
        @Test
        public void testToString() {
            // Test the string representation of the object
            String result = smbComDelete.toString();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException if there is an error decoding the response
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

            }
    
            byteCount = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            if (byteCount != 0) {
                int n;
                n = readBytesWireFormat(buffer, bufferIndex);
                bufferIndex += byteCount;
            }
    
            /*
             * if there is an andx and it itself is an andx then just recur by
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top