Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for decoder (0.14 sec)

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

        public int type;
        public ACE[] aces;
    
        public SecurityDescriptor() {
        }
        public SecurityDescriptor(byte[] buffer, int bufferIndex, int len) throws IOException {
            this.decode(buffer, bufferIndex, len);
        }
        public int decode(byte[] buffer, int bufferIndex, int len) throws IOException {
            int start = bufferIndex;
    
            bufferIndex++; // revision
            bufferIndex++;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

         * @return the totalBytesWritten
         */
        public byte[] getData () {
            return this.data;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            this.namedPipeState = SMBUtil.readInt4(buffer, bufferIndex);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/rpc.java

                _dst = _dst.derive(_nodei);
                for ( int _i = 0; _i < _nodes; _i++ ) {
                    _dst.enc_ndr_small(this.node[ _i ]);
                }
            }
    
    
            @Override
            public void decode ( NdrBuffer _src ) throws NdrException {
                _src.align(4);
                this.time_low = _src.dec_ndr_long();
                this.time_mid = (short) _src.dec_ndr_short();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/av/AvPairs.java

    
    /**
     * @author mbechler
     *
     */
    public final class AvPairs {
    
        private AvPairs () {}
    
    
        /**
         * Decode a list of AvPairs
         * 
         * @param data
         * @return individual pairs
         * @throws CIFSException
         */
        public static List<AvPair> decode ( byte[] data ) throws CIFSException {
            List<AvPair> pairs = new LinkedList<>();
            int pos = 0;
            boolean foundEnd = false;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/ndr/NdrLong.java

            this.value = value;
        }
    
    
        @Override
        public void encode ( NdrBuffer dst ) throws NdrException {
            dst.enc_ndr_long(this.value);
        }
    
    
        @Override
        public void decode ( NdrBuffer src ) throws NdrException {
            this.value = src.dec_ndr_long();
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/ndr/NdrLong.java

        public int value;
    
        public NdrLong(int value) {
            this.value = value;
        }
    
        public void encode(NdrBuffer dst) throws NdrException {
            dst.enc_ndr_long(value);
        }
        public void decode(NdrBuffer src) throws NdrException {
            value = src.dec_ndr_long();
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java

        public NdrSmall(int value) {
            this.value = value & 0xFF;
        }
    
        public void encode(NdrBuffer dst) throws NdrException {
            dst.enc_ndr_small(value);
        }
        public void decode(NdrBuffer src) throws NdrException {
            value = src.dec_ndr_small();
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            int start = bufferIndex;
    
            if (errorCode != 0)
                return 4;
    
            try {
                securityDescriptor = new SecurityDescriptor();
                bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len);
            } catch (IOException ioe) {
                throw new RuntimeException(ioe.getMessage());
            }
    
            return bufferIndex - start;
        }
        public String toString() {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            buf.enc_ndr_short(binding.major);
            buf.enc_ndr_short(binding.minor);
            DCERPC_UUID_SYNTAX_NDR.encode(buf);
            buf.enc_ndr_long(2); /* syntax version */
        }
        public void decode_out(NdrBuffer buf) throws NdrException {
            buf.dec_ndr_short(); /* max transmit frag size */
            buf.dec_ndr_short(); /* max receive frag size */
            buf.dec_ndr_long();  /* assoc. group */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

            int bufferLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            Decodable i = createInformation(this.expectInfoType, this.expectInfoClass);
            if ( i != null ) {
                i.decode(buffer, bufferOffset, bufferLength);
            }
            bufferIndex = Math.max(bufferIndex, bufferOffset + bufferLength);
            this.info = i;
            return bufferIndex - start;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 6K bytes
    - Viewed (0)
Back to top