Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for SMBProtocolDecodingException (0.71 sec)

  1. src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java

         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 17 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 17");
            }
            bufferIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

            return 0;
        }
    
    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            if ( len > this.outputBuffer.length ) {
                throw new SMBProtocolDecodingException("Payload exceeds buffer size");
            }
            System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len);
            return len;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

            if (len == 0) {
            	// nothing to do
            	return 0;
            }
            int start = bufferIndex;
    
            this.nextEntryOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            if ( ( this.nextEntryOffset % 4 ) != 0 ) {
                throw new SMBProtocolDecodingException("Non aligned nextEntryOffset");
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 17 08:55:32 UTC 2018
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

    
        protected abstract int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException;
    
    
        protected abstract int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException;
    
    
        @Override
        public String toString () {
            return new String(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 9.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
    
            if ( structureSize != 9 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 9");
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  6. 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");
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  7. 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;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.fscc;
    
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * 
     * @author mbechler
     *
     */
    public class FileInternalInfo implements FileInformation {
    
        private long indexNumber;
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponse.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 != 4");
            }
    
            return 4;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.ioctl;
    
    
    import jcifs.Decodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
     *
     */
    public class ValidateNegotiateInfoResponse implements Decodable {
    
        private int capabilities;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
Back to top