Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 178 for writeBytesWireFormat (0.17 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

            return getFileAttributes();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

        /**
         * Test method for {@link jcifs.internal.smb1.com.SmbComClose#writeBytesWireFormat(byte[], int)}.
         */
        @Test
        public void testWriteBytesWireFormat() {
            // Given
            SmbComClose smbComClose = new SmbComClose(config, 1, 1L);
            byte[] dst = new byte[0];
    
            // When
            int bytesWritten = smbComClose.writeBytesWireFormat(dst, 0);
    
            // Then
            assertEquals(0, bytesWritten);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

        void testWriteBytesWireFormat() {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // When
            int bytesWritten = response.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(0, bytesWritten);
        }
    
        @DisplayName("Should write zero bytes at various offsets")
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt2(25, dst, dstIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

        }
    
        /**
         * Test of writeBytesWireFormat method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testWriteBytesWireFormat() {
            byte[] dst = new byte[10];
            int dstIndex = 0;
            // This method does nothing and should return 0.
            assertEquals(0, response.writeBytesWireFormat(dst, dstIndex));
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComClose.java

            } else {
                log.trace("SmbComClose without a digest");
            }
            return 6;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(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
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

            for (int i = 0; i < 8; i++) {
                dst[dstIndex] = 0x00;
                dstIndex++;
            }
    
            return dstIndex - start;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (useUnicode) {
                dst[dstIndex] = (byte) '\0';
                dstIndex++;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 32);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(32, dst, dstIndex);
            SMBUtil.writeInt2(this.notifyFlags, dst, dstIndex + 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComTreeDisconnect.java

            command = SMB_COM_TREE_DISCONNECT;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComBlankResponse.java

        SmbComBlankResponse() {
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top