Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 178 for writeBytesWireFormat (0.09 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java

            super(andx);
        }
    
        @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
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java

            super(andx);
        }
    
        @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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            this.wordCount += 4; // for command, reserved, and offset
            dstIndex += this.wordCount + 1;
            this.wordCount /= 2;
            dst[start] = (byte) (this.wordCount & 0xFF);
    
            this.byteCount = writeBytesWireFormat(dst, dstIndex + 2);
            dst[dstIndex] = (byte) (this.byteCount & 0xFF);
            dstIndex++;
            dst[dstIndex++] = (byte) (this.byteCount >> 8 & 0xFF);
            dstIndex += this.byteCount;
    
            /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

            writeInt2(remaining, dst, dstIndex);
            dstIndex += 2;
            writeInt4(offset >> 32, dst, dstIndex);
            dstIndex += 4;
    
            return dstIndex - start;
        }
    
        @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
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java

            SMBUtil.writeUTime(this.lastWriteTime, dst, dstIndex);
            dstIndex += 4;
            // reserved
            dstIndex += 10;
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(this.path, dst, dstIndex);
            return dstIndex - start;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

                paramWordsWritten = 10; // simulate write of 10 bytes of parameter words
                return paramWordsWritten;
            }
    
            @Override
            int writeBytesWireFormat(byte[] dst, int dstIndex) {
                bytesWritten = 20; // simulate 20 bytes of data
                return bytesWritten;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

            assertEquals(0, rc, "readParameterWordsWireFormat should return 0 for this SMB");
        }
    
        @Test
        void testWriteBytesReturnsZero() {
            byte[] dst = new byte[1];
            int rc = instance.writeBytesWireFormat(dst, 0);
            assertEquals(0, rc, "SmbComFindClose2 has no body to write");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

            return this.signingEnforced;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            final ByteArrayOutputStream bos = new ByteArrayOutputStream();
    
            for (final String dialect : this.dialects) {
                bos.write(0x02);
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java

        SmbComNTCreateAndXResponse() {
        }
    
        @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
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

            writeInt4(offset, dst, dstIndex);
            dstIndex += 4;
            writeInt2(remaining, dst, dstIndex);
            dstIndex += 2;
    
            return dstIndex - start;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x01; /* BufferFormat */
            dstIndex++;
            writeInt2(count, dst, dstIndex); /* DataLength? */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top