- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for fromOEMBytes (0.11 sec)
-
src/main/java/jcifs/netbios/Name.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
return len; } /** * @param src * @param srcIndex * @param len * @param config * @return decoded string */ public static String fromOEMBytes ( byte[] src, int srcIndex, int len, Configuration config ) { try { return new String(src, srcIndex, len, config.getOemEncoding()); } catch ( UnsupportedEncodingException e ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NodeStatusResponse.java
int j; boolean addrFound = false; for ( int i = 0; i < this.numberOfNames; srcIndex += 18, i++ ) { for ( j = srcIndex + 14; src[ j ] == 0x20; j-- ); n = Strings.fromOEMBytes(src, srcIndex, j - srcIndex + 1, this.config); hexCode = src[ srcIndex + 15 ] & 0xFF; groupName = ( ( src[ srcIndex + 16 ] & 0x80 ) == 0x80 ) ? true : false;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
} else { if ( fileNameLength > 0 && buffer[ bufferIndex + fileNameLength - 1 ] == '\0' ) { fileNameLength -= 1; } str = Strings.fromOEMBytes(buffer, bufferIndex, fileNameLength, this.config); } this.filename = str; bufferIndex += fileNameLength; return start - bufferIndex; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.6K 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(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 15.4K 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()); } /** * * @param src * @param srcIndex * @param srcEnd * @param maxLen
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 09:45:59 UTC 2018 - 32.7K bytes - Viewed (0)