- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for usedChars (0.15 sec)
-
src/main/java/jcifs/pac/PacDataInputStream.java
final int unusedChars = readInt(); final int usedChars = readInt(); if (unusedChars > totalChars || usedChars > totalChars - unusedChars) { throw new PACDecodingException("Malformed string in PAC"); } this.dis.skip(unusedChars * 2); final char[] chars = new char[usedChars]; for (int l = 0; l < usedChars; l++) { chars[l] = (char) readShort(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
int totalChars = testString.length(); writeLittleEndianInt(dos, totalChars); // totalChars writeLittleEndianInt(dos, 0); // unusedChars writeLittleEndianInt(dos, totalChars); // usedChars // Write the actual characters (as shorts in little-endian) for (char c : testString.toCharArray()) { writeLittleEndianShort(dos, (short) c); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0)