Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for StructureSize (0.18 sec)

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

         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 4 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            return 4;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 17 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 17");
            }
            bufferIndex += 4;
    
            this.count = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

            int start = bufferIndex;
    
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 9 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 9");
            }
    
            int bufferOffset = SMBUtil.readInt2(buffer, bufferIndex + 2) + getHeaderStart();
            bufferIndex += 4;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 4 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            return bufferIndex - start;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoResponse.java

         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 2 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 2");
            }
            return 2;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 24 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 24");
            }
    
            this.oplockLevel = buffer[ bufferIndex + 2 ];
            bufferIndex += 4;
            bufferIndex += 4; // Reserved2
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize == 9 ) {
                return this.readErrorResponse(buffer, bufferIndex);
            }
            else if ( structureSize != 17 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 17");
            }
    
            short dataOffset = buffer[ bufferIndex + 2 ];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 07:13:17 GMT 2018
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 16 ) {
                throw new SMBProtocolDecodingException("Structure size is not 16");
            }
    
            this.shareType = buffer[ bufferIndex + 2 ];
            bufferIndex += 4;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon May 23 14:35:20 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 4 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java

         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 4 ) {
                throw new SMBProtocolDecodingException("Structure size is not 4");
            }
            return 4;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
Back to top