- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 613 for encodes (0.15 seconds)
-
src/main/java/jcifs/util/Encdec.java
private static final int TIME_1970_MILLIS_64LE = 8; /** * */ private Encdec() { } /* * Encode integers */ /** * Encodes a 16-bit unsigned integer in big-endian byte order. * * @param s the short value to encode * @param dst the destination byte array * @param di the starting index in the destination arrayCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/Encdec.java
* Time encoding type: 1970 epoch, 64-bit milliseconds, little-endian. */ public static final int TIME_1970_MILLIS_64LE = 8; /* Encode integers */ /** * Encodes a 16-bit unsigned integer in big-endian byte order. * * @param s the short value to encode * @param dst the destination byte array * @param di the starting index in the destination arrayCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.5K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
/* double */ /** * Encodes a string in NDR format. * * @param s the string to encode */ public void enc_ndr_string(final String s) { align(4); int i = index; final int len = s.length(); Encdec.enc_uint32le(len + 1, buf, i); i += 4; Encdec.enc_uint32le(0, buf, i); i += 4; Encdec.enc_uint32le(len + 1, buf, i);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.4K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
return val; } /** * Encodes a short integer (2 bytes) in NDR format. * * @param s the short integer value to encode */ public void enc_ndr_short(final int s) { align(2); Encdec.enc_uint16le((short) s, this.buf, this.index); advance(2); } /** * Decodes a short integer (2 bytes) from NDR format. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.7K bytes - Click Count (0) -
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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.1K bytes - Click Count (0) -
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 decodingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
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 decodingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
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 */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 7.2K bytes - Click Count (0) -
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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.4K bytes - Click Count (0)