- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 164 for decodeTo (0.07 sec)
-
guava/src/com/google/common/io/BaseEncoding.java
} } @Override int decodeTo(byte[] target, CharSequence chars) throws DecodingException { checkNotNull(target); if (chars.length() % 2 == 1) { throw new DecodingException("Invalid input length " + chars.length()); } int bytesWritten = 0; for (int i = 0; i < chars.length(); i += 2) { int decoded = alphabet.decode(chars.charAt(i)) << 4 | alphabet.decode(chars.charAt(i + 1));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Oct 06 14:51:47 UTC 2025 - 41.7K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
dst[di] = (byte) (i >> 24 & 0xFF); return 4; } /* * Decode integers */ /** * Decodes a 16-bit unsigned integer from big-endian byte order. * * @param src the source byte array * @param si the starting index in the source array * @return the decoded short value */ public static short dec_uint16be(final byte[] src, final int si) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
* Decodes a 32-bit unsigned integer from little-endian byte order. * * @param src the source byte array * @param si the starting index in the source array * @return the decoded integer value */ public static int dec_uint32le(final byte[] src, final int si) { return src[si] & 0xFF | (src[si + 1] & 0xFF) << 8 | (src[si + 2] & 0xFF) << 16 | (src[si + 3] & 0xFF) << 24; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
notifications.add(notification); } } } /** * Decodes a single notification from the NDR buffer. * * @param buf the NDR buffer * @return the decoded notification * @throws NdrException if decoding fails */ private WitnessNotificationResponse decodeNotification(NdrBuffer buf) throws NdrException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
} /** * Decodes a base64 encoded ID back to the original object name. * * @param id the encoded ID to decode * @return the decoded object name */ protected static String decodeId(final String id) { if (id == null) { return StringUtil.EMPTY; }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 22.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
} } /** * This decodes a value into its contents using a preceding member of the same SEQUENCE. For * example, extensions type IDs specify what types to use for the corresponding values. * * If the hint is unknown [chooser] should return null which will cause the value to be decoded as * an opaque byte string. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
// Test decoding FileEndOfFileInformation decoded = new FileEndOfFileInformation(); int decodedBytes = decoded.decode(buffer, 0, 8); assertEquals(8, decodedBytes); // Verify toString contains the value assertTrue(decoded.toString().contains(String.valueOf(endOfFile))); } /** * Test FileEndOfFileInformation decode with offset */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
assertEquals(40, bytesWritten); // Decode to verify encoding FileBasicInfo decoded = new FileBasicInfo(); decoded.decode(buffer, offset, 36); assertEquals(TEST_CREATE_TIME, decoded.getCreateTime()); assertEquals(TEST_LAST_ACCESS_TIME, decoded.getLastAccessTime()); assertEquals(TEST_LAST_WRITE_TIME, decoded.getLastWriteTime());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
// Decode PreauthIntegrityNegotiateContext decoded = new PreauthIntegrityNegotiateContext(); int decodedSize = decoded.decode(buffer, 0, encodedSize); // Verify assertEquals(encodedSize, decodedSize); assertArrayEquals(hashAlgos, decoded.getHashAlgos()); assertArrayEquals(salt, decoded.getSalt());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
return decode(certificatePem, pkcs8Base64) } private fun decode( certificatePem: String, pkcs8Base64Text: String, ): HeldCertificate { val certificate = certificatePem.decodeCertificatePem() val pkcs8Bytes = pkcs8Base64Text.decodeBase64() ?: throw IllegalArgumentException("failed to decode private key")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 21.6K bytes - Viewed (0)