- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for fromOEMBytes (0.13 sec)
-
src/main/java/jcifs/netbios/Name.java
if (n == 0) { this.scope = null; return 1; } sb = new StringBuilder(Strings.fromOEMBytes(src, srcIndex, n, this.config)); srcIndex += n; while ((n = src[srcIndex++] & 0xFF) != 0) { sb.append('.').append(Strings.fromOEMBytes(src, srcIndex, n, this.config)); srcIndex += n; } this.scope = sb.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
// When String result = Strings.fromOEMBytes(bytes, 0, bytes.length, mockConfig); // Then assertEquals(TEST_STRING, result, "Should decode using OEM encoding"); verify(mockConfig).getOemEncoding(); } @Test @DisplayName("fromOEMBytes should throw exception for unsupported encoding")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NodeStatusResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
* @param len the number of bytes to decode * @param config the configuration providing the OEM encoding * @return decoded string */ public static String fromOEMBytes(final byte[] src, final int srcIndex, final int len, final Configuration config) { try { return new String(src, srcIndex, len, config.getOemEncoding());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
} else { len = Strings.findTermination(buffer, bufferIndex, 256); this.server.oemDomainName = Strings.fromOEMBytes(buffer, bufferIndex, len, getConfig()); } bufferIndex += len; } else { this.server.oemDomainName = new String(); } } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
srcIndex++; } return Strings.fromUNIBytes(src, srcIndex, Strings.findUNITermination(src, srcIndex, maxLen)); } return Strings.fromOEMBytes(src, srcIndex, Strings.findTermination(src, srcIndex, maxLen), getConfig()); } /** * Reads a null-terminated string from the buffer with bounds checking * @param src source buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0)