Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 376 for decoding (0.04 sec)

  1. src/main/java/jcifs/dcerpc/ndr/NdrObject.java

     * This abstract class defines the interface for encoding and decoding NDR data types.
     */
    public abstract class NdrObject {
    
        /**
         * Default constructor for NDR object
         */
        public NdrObject() {
            // Default constructor
        }
    
        /**
         * Encodes this NDR object into the specified buffer
         * @param dst the destination buffer for encoding
         * @throws NdrException if encoding fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrObject.java

     * This abstract class defines the interface for encoding and decoding NDR data types.
     */
    public abstract class NdrObject {
    
        /**
         * Default constructor for NDR object
         */
        public NdrObject() {
            // Default constructor
        }
    
        /**
         * Encodes this NDR object into the specified buffer
         * @param dst the destination buffer for encoding
         * @throws NdrException if encoding fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        }
    
        @Test
        @DisplayName("Test context encoding")
        public void testEncoding() {
            byte[] buffer = new byte[256];
            int encodedSize = context.encode(buffer, 0);
    
            assertTrue(encodedSize > 8); // Minimum size: count + padding + flags + algorithms
            assertEquals(context.size(), encodedSize);
        }
    
        @Test
        @DisplayName("Test context decoding")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

     * <p>
     * The class only contains an encode/decode pair that delegates to
     * {@link NdrBuffer#enc_ndr_hyper(long)} and {@link NdrBuffer#dec_ndr_hyper()}.
     * The tests verify that:
     * <ul>
     *   <li>encoding and decoding round‑trip correctly handle typical, zero,
     *       and extreme {@code long} values.</li>
     *   <li>encode/decode methods interact correctly with a mocked
     *       {@link NdrBuffer} so that the correct method is called with
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

        }
    
        /**
         * Creates a security descriptor by decoding from a byte buffer.
         *
         * @param buffer the byte buffer containing the security descriptor data
         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @throws IOException if an I/O error occurs during decoding
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PACDecodingException.java

        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new PAC decoding exception with no detail message.
         */
        public PACDecodingException() {
            this(null, null);
        }
    
        /**
         * Constructs a new PAC decoding exception with the specified detail message.
         * @param message the detail message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/CommonServerMessageBlock.java

     */
    package jcifs.internal;
    
    import jcifs.util.transport.Message;
    
    /**
     * Common interface for all SMB message blocks in the jCIFS protocol implementation.
     * Provides core functionality for encoding/decoding SMB messages, handling message signing,
     * and managing message metadata such as IDs, commands, and authentication information.
     *
     * @author mbechler
     */
    public interface CommonServerMessageBlock extends Message {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            // Close the static mock
            mockedStaticAuthData.close();
        }
    
        /**
         * Test constructor with a valid ASN.1 token.
         *
         * @throws IOException if ASN.1 encoding fails.
         * @throws PACDecodingException if PAC decoding fails.
         */
        @Test
        void testConstructor_ValidToken() throws IOException, PACDecodingException {
            // 1. GIVEN
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/EncdecTest.java

                Encdec.dec_uint32le(smallBuffer, 0);
            });
        }
    
        @Test
        @DisplayName("Should handle time encoding/decoding")
        void testTimeOperations() {
            // Given
            Date currentDate = new Date();
            byte[] buffer = new byte[8];
    
            // When - Use direct encoding methods since time constants are private
            Encdec.enc_uint64le(currentDate.getTime(), buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

         * Applies URL decoding with the specified character encoding.
         *
         * @param queryString the query string to parse
         * @param enc the character encoding to use for URL decoding
         * @return a map of parameter names to their decoded values
         * @throws IOException if an error occurs during URL decoding
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top