Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for Decodable (1.34 sec)

  1. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException {
            this.indexNumber = SMBUtil.readInt8(buffer, bufferIndex);
            return 8;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

            this.fileName = name;
            this.replaceIfExists = replaceIfExists;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

        }
    
        @Override
        public long getFree() {
            return this.free * this.sectPerAlloc * this.bytesPerSect;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            resp.decode(packet, 0);
            assertEquals(output.length, resp.getOutputLength());
            assertArrayEquals(output, outBuf, "Output should be copied into provided buffer");
            // No Decodable output when buffer is provided
            assertNull(resp.getOutputData());
            assertThrows(SmbException.class, () -> resp.getOutputData(SrvCopyChunkCopyResponse.class));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

                dstIndex += this.salt.length;
            }
    
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/rpc.java

    import jcifs.dcerpc.ndr.NdrException;
    import jcifs.dcerpc.ndr.NdrObject;
    
    /**
     * RPC data structure definitions for DCE/RPC protocol support.
     * This class contains NDR (Network Data Representation) encodable/decodable structures
     * used in DCE/RPC communications including UUID, policy handles, unicode strings, and SIDs.
     */
    @SuppressWarnings("all")
    public class rpc {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/rpc.java

    import jcifs.smb1.dcerpc.ndr.NdrException;
    import jcifs.smb1.dcerpc.ndr.NdrObject;
    
    /**
     * RPC data structure definitions for DCE/RPC protocol support.
     * This class contains NDR (Network Data Representation) encodable/decodable structures
     * used in DCE/RPC communications.
     */
    public class rpc {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private rpc() {
            // Utility class
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Encodable.java

    package jcifs;
    
    /**
     * Interface for objects that can be encoded to a byte buffer.
     * This interface provides methods for serializing data to SMB protocol messages.
     *
     * @author mbechler
     */
    public interface Encodable {
    
        /**
         * Encodes this object into the specified byte array.
         *
         * @param dst the destination byte array to encode into
         * @param dstIndex the starting index in the destination array
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            request = new Smb2SetInfoRequest(mockConfig);
            Encodable mockInfo = mock(Encodable.class);
    
            request.setInfo(mockInfo);
    
            // Verify info object was set
            Field infoField;
            try {
                infoField = Smb2SetInfoRequest.class.getDeclaredField("info");
                infoField.setAccessible(true);
                Encodable actualInfo = (Encodable) infoField.get(request);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/ByteEncodableTest.java

            ByteEncodable encodable = new ByteEncodable(data, 1, 3);
    
            // Verify size
            assertEquals(3, encodable.size(), "Size should be equal to the specified length");
        }
    
        @Test
        void testEncodeBasic() {
            // Test basic encoding
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
            ByteEncodable encodable = new ByteEncodable(data, 1, 3);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top