Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for readBytesWireFormat (0.17 sec)

  1. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            }
    
            this.byteCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            if ( this.byteCount != 0 ) {
                // TODO: is this really correct?
                int n = readBytesWireFormat(buffer, bufferIndex);
                if ( n != this.byteCount && log.isTraceEnabled() ) {
                    log.trace("Short read, have " + n + ", want " + this.byteCount);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                bufferIndex = start + 1 + (wordCount * 2);
            }
    
            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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            bufferIndex += 2;
    
            if( byteCount != 0 ) {
                int n;
                if(( n = readBytesWireFormat( buffer, bufferIndex )) != byteCount ) {
                    if( log.level >= 5 ) {
                        log.println( "byteCount=" + byteCount +
                                " but readBytesWireFormat returned " + n );
                    }
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
    
        @Override
        public String toString () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            if ( isErrorResponseStatus() ) {
                bufferIndex += readErrorResponse(buffer, bufferIndex);
            }
            else {
                bufferIndex += readBytesWireFormat(buffer, bufferIndex);
            }
    
            this.length = bufferIndex - start;
            int len = this.length;
    
            if ( this.nextCommand != 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            bufferIndex += 2;
            this.server.encryptionKeyLength = buffer[ bufferIndex++ ] & 0xFF;
    
            return bufferIndex - start;
        }
    
    
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
    
            if ( ( this.server.scapabilities & SmbConstants.CAP_EXTENDED_SECURITY ) == 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            bufferIndex += 2;
    
            if ( this.byteCount != 0 ) {
                int n;
                if ( ( n = readBytesWireFormat(buffer, bufferIndex) ) != this.byteCount ) {
                    if ( log.isTraceEnabled() ) {
                        log.trace("byteCount=" + this.byteCount + " but readBytesWireFormat returned " + n);
                    }
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                dstIndex += dataCount;
            }
    
            return dstIndex - start;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
        abstract int writeSetupWireFormat( byte[] dst, int dstIndex );
        abstract int writeParametersWireFormat( byte[] dst, int dstIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
    
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
    
        protected abstract int writeSetupWireFormat ( byte[] dst, int dstIndex );
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 13:43:42 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

         * @see jcifs.internal.SmbNegotiationResponse#setupResponse(jcifs.util.transport.Response)
         */
        @Override
        public void setupResponse ( Response resp ) {}
    
    
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 65 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
Back to top