Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 178 for writeBytesWireFormat (0.08 sec)

  1. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

         * Gets the lease duration from the break response
         * @return the lease duration
         */
        public long getLeaseDuration() {
            return leaseDuration;
        }
    
        @Override
        protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
            // This is a response, not a request, so this method is not used
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            for (int i = 0; i < 8; i++) {
                dst[dstIndex] = 0x00;
                dstIndex++;
            }
    
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (this.isUseUnicode()) {
                dst[dstIndex] = (byte) '\0';
                dstIndex++;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            dstIndex += 2;
            SMBUtil.writeInt4(this.offset >> 32, dst, dstIndex);
            dstIndex += 4;
    
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            while (this.pad-- > 0) {
                dst[dstIndex] = (byte) 0xEE;
                dstIndex++;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            dstIndex += 2;
            writeInt4(offset >> 32, dst, dstIndex);
            dstIndex += 4;
    
            return dstIndex - start;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            while (pad-- > 0) {
                dst[dstIndex] = (byte) 0xEE;
                dstIndex++;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            dstIndex += 4;
            SMBUtil.writeInt2(this.remaining, dst, dstIndex);
            dstIndex += 2;
    
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x01; /* BufferFormat */
            dstIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            this.server = server;
        }
    
        @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, int bufferIndex) {
            final int start = bufferIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

            }
            return this;
        }
    
        @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, int bufferIndex) {
            final int start = bufferIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

            return 0;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

                    assertEquals(c, buffer[pathStart + i * 2]);
                    assertEquals(0, buffer[pathStart + i * 2 + 1]);
                }
            }
        }
    
        @Test
        @DisplayName("Should test writeBytesWireFormat directly")
        void testWriteBytesWireFormatDirect() {
            // Given
            byte[] buffer = new byte[512];
            int offset = 100;
    
            // First encode to set headerStart
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top