Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 378 for decoding (0.99 sec)

  1. src/test/java/jcifs/util/StringsTest.java

                assertArrayEquals(ASCII_STRING.getBytes(StandardCharsets.US_ASCII), result, "Should produce same bytes as ASCII encoding");
            }
        }
    
        @Nested
        @DisplayName("OEM Encoding Tests")
        class OEMEncodingTests {
    
            @Test
            @DisplayName("getOEMBytes should use configuration encoding")
            void testGetOEMBytes() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Decodable.java

         * @param bufferIndex the starting index in the buffer
         * @param len the maximum length of data to decode
         * @return decoded length
         * @throws SMBProtocolDecodingException if decoding fails
         */
        int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Encdec.java

     * MA 02111-1307, USA
     */
    
    package jcifs.smb1.util;
    
    import java.io.IOException;
    import java.util.Date;
    
    /**
     * Encoding and decoding utility class for SMB1 protocol.
     * Provides methods for encoding/decoding various data types in different byte orders.
     */
    public class Encdec {
    
        /**
         * Default constructor for Encdec.
         * This is a utility class with static methods.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosPacAuthData.java

        /**
         * Constructs KerberosPacAuthData from token bytes.
         *
         * @param token the PAC token bytes
         * @param keys map of Kerberos keys indexed by key type
         * @throws PACDecodingException if PAC decoding fails
         */
        public KerberosPacAuthData(byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException {
            this.pac = new Pac(token, keys);
        }
    
        /**
         * Returns the PAC object.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponse.java

        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException if an error occurs during decoding
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

    import jcifs.smb.SmbException;
    import jcifs.util.Hexdump;
    
    /**
     * Base class for SMB2/SMB3 protocol messages.
     *
     * This abstract class provides common functionality for all SMB2/SMB3
     * message types including encoding, decoding, and message handling.
     *
     * @author mbechler
     */
    public abstract class ServerMessageBlock2 implements CommonServerMessageBlock {
    
        /*
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

            // Verify the raw bytes are the UTF-16LE encoding of the input string
            assertArrayEquals(targetName.getBytes(StandardCharsets.UTF_16LE), avTargetName.getRaw(),
                    "Raw bytes should be UTF-16LE encoded string");
        }
    
        /**
         * Test getTargetName() method with a string input.
         * Verifies that the original string is returned after encoding and decoding.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Encdec.java

     * MA 02111-1307, USA
     */
    
    package jcifs.util;
    
    import java.io.IOException;
    import java.util.Date;
    
    import jcifs.SmbConstants;
    
    /**
     * Encoding and decoding utility class for SMB protocol.
     * Provides methods for encoding/decoding various data types in different byte orders.
     */
    public final class Encdec {
    
        private static final long SEC_BETWEEEN_1904_AND_1970 = 2082844800L;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/ndr/NdrException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.dcerpc.ndr;
    
    import jcifs.CIFSException;
    
    /**
     * Exception thrown when an error occurs during NDR encoding or decoding operations.
     */
    public class NdrException extends CIFSException {
    
        /**
         *
         */
        private static final long serialVersionUID = 7621650016319792189L;
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (1)
  10. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

        private long alloc; // Also handles SmbQueryFSSizeInfo
        private long free;
        private int sectPerAlloc;
        private int bytesPerSect;
    
        /**
         * Default constructor for decoding file system size information.
         */
        public FileFsSizeInformation() {
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileSystemInformation#getFileSystemInformationClass()
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top