Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 181 for readBytesWireFormat (0.12 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

        public void testWriteBytesWireFormat() {
            assertEquals(0, response.writeBytesWireFormat(new byte[0], 0));
        }
    
        @Test
        public void testReadBytesWireFormat() {
            assertEquals(0, response.readBytesWireFormat(new byte[0], 0));
        }
    
        @Nested
        class WhenReadingParameterWordsWireFormat {
    
            private final byte[] buffer = new byte[20];
            private final int dataCompactionMode = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

        }
    
        @Test
        void testReadBytesWireFormat() {
            byte[] buffer = new byte[1024];
            int result = response.readBytesWireFormat(buffer, 0);
    
            // The method should read bytes
            assertEquals(0, result, "readBytesWireFormat should return 0 for response");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

        }
    
        @Test
        void testReadBytesWireFormat() {
            byte[] buffer = new byte[1024];
    
            int result = setupAndX.readBytesWireFormat(buffer, 0);
    
            // The implementation always returns 0
            assertEquals(0, result, "readBytesWireFormat returns 0");
        }
    
        @Test
        void testToString() {
            String result = setupAndX.toString();
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

            this.dataOffset = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 12; // 10 reserved
    
            return bufferIndex - start;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            // handled special in SmbTransport.doRecv()
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

            SMBUtil.writeInt8(0, dst, dstIndex);
            dstIndex += 8;
    
            return dstIndex - start;
        }
    
        @Override
        protected int readBytesWireFormat(byte[] buffer, int bufferIndex) {
            // This is a request, not a response, so this method is not used
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

            dstIndex += len;
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

                bufferIndex += 2;
                this.blob = new byte[blobLength];
            }
            return bufferIndex - start;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            if (this.isExtendedSecurity()) {
                System.arraycopy(buffer, bufferIndex, this.blob, 0, this.blob.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top