Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 164 for encodes (6.97 sec)

  1. src/main/java/jcifs/util/Strings.java

            return str.getBytes(encoding);
        }
    
        /**
         * Encodes a string into UTF-16LE (Unicode Little Endian) bytes.
         *
         * @param str the string to encode
         * @return the string as bytes (UTF16-LE)
         */
        public static byte[] getUNIBytes(final String str) {
            return getBytes(str, UNI_ENCODING);
        }
    
        /**
         * Encodes a string into ASCII bytes.
         *
         * @param str the string to encode
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Base64.java

        /**
         * Base-64 encodes the supplied block of data.  Line wrapping is not
         * applied on output.
         *
         * @param bytes The block of data that is to be Base-64 encoded.
         * @return A <code>String</code> containing the encoded data.
         */
        public static String encode(final byte[] bytes) {
            int length = bytes.length;
            if (length == 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/Base64Util.java

         */
        protected Base64Util() {
        }
    
        /**
         * Encodes data in Base64.
         * <p>
         * This method uses {@link java.util.Base64.Encoder} for encoding.
         * </p>
         *
         * @param inData
         *            The data to encode
         * @return The encoded data, or an empty string if the input is null or empty
         */
        public static String encode(final byte[] inData) {
            if (ArrayUtil.isEmpty(inData)) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/ndr/NdrObject.java

         */
        public NdrObject() {
            // Default constructor
        }
    
        /**
         * Encodes this NDR object into the specified buffer
         * @param dst the destination buffer for encoding
         * @throws NdrException if encoding fails
         */
        public abstract void encode(NdrBuffer dst) throws NdrException;
    
        /**
         * Decodes this NDR object from the specified buffer
         * @param src the source buffer for decoding
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/ndr/NdrObject.java

         */
        public NdrObject() {
            // Default constructor
        }
    
        /**
         * Encodes this NDR object into the specified buffer
         * @param dst the destination buffer for encoding
         * @throws NdrException if encoding fails
         */
        public abstract void encode(NdrBuffer dst) throws NdrException;
    
        /**
         * Decodes this NDR object from the specified buffer
         * @param src the source buffer for decoding
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Encodable.java

         */
        int encode(byte[] dst, int dstIndex);
    
        /**
         * Returns the size in bytes that this object will occupy when encoded.
         *
         * @return the encoded size
         */
        int size();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/DocumentUtil.java

            return null;
        }
    
        /**
         * Encodes a URL by encoding non-URL-safe characters.
         * Uses the request's character encoding if available, otherwise defaults to UTF-8.
         * Only encodes characters that are not considered URL-safe according to CharUtil.
         *
         * @param url the URL to encode
         * @return the encoded URL with non-URL-safe characters properly encoded
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/CommonServerMessageBlock.java

         */
        int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException;
    
        /**
         * Encodes this message into a byte array.
         *
         * @param dst the destination byte array
         * @param dstIndex the starting index in the destination array
         * @return message length
         */
        int encode(byte[] dst, int dstIndex);
    
        /**
         * Sets the signing digest for this message.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

     */
    
    package jcifs.smb1.smb1;
    
    import java.io.IOException;
    
    /**
     * Represents a Windows security descriptor containing access control information.
     * This class encodes and decodes security descriptors that define ownership
     * and access permissions for SMB resources.
     */
    public class SecurityDescriptor {
    
        SID owner_user, owner_group;
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/SpnegoToken.java

         */
        public void setMechanismListMIC(final byte[] mechanismListMIC) {
            this.mechanismListMIC = mechanismListMIC;
        }
    
        /**
         * Encodes this SPNEGO token to a byte array
         * @return the encoded token bytes
         */
        public abstract byte[] toByteArray();
    
        /**
         * Parses the provided token bytes to populate this SPNEGO token
         * @param token the token bytes to parse
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (2)
Back to top