- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for getMaxLength (0.15 seconds)
-
src/main/java/jcifs/pac/PacUnicodeString.java
return this.length; } /** * Gets the maximum allocated length for the string in bytes. * * @return the maximum string length */ public short getMaxLength() { return this.maxLength; } /** * Gets the pointer/offset to the string data. * * @return the pointer to the string data */ public int getPointer() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
// Verify that the getters return the correct values assertEquals(length, pacString.getLength(), "The length should match the value provided in the constructor."); assertEquals(maxLength, pacString.getMaxLength(), "The maxLength should match the value provided in the constructor."); assertEquals(pointer, pacString.getPointer(), "The pointer should match the value provided in the constructor."); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
PacDataInputStream pdis = createInputStream(data); PacUnicodeString str = pdis.readUnicodeString(); assertEquals(4, str.getLength()); assertEquals(4, str.getMaxLength()); assertEquals(0x1234, str.getPointer()); } @Test public void testReadUnicodeStringMalformed() throws IOException { // length > maxLength
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9.2K bytes - Click Count (0)