- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testReadString (0.26 sec)
-
src/test/java/jcifs/pac/PacDataInputStreamTest.java
PacDataInputStream pdis = createInputStream(data); assertThrows(PACDecodingException.class, () -> pdis.readUnicodeString()); } @Test public void testReadString() throws IOException, PACDecodingException { // total=4, unused=1, used=2, string="AB" byte[] data = new byte[] { 0x04, 0x00, 0x00, 0x00, // total 0x01, 0x00, 0x00, 0x00, // unused
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
byte[] sidBytes = id.toByteArray(); assertTrue(sidBytes.length > 0); } @Test @DisplayName("Test PacDataInputStream readString method") void testReadString() throws Exception { ByteArrayOutputStream baos = new ByteArrayOutputStream(); DataOutputStream dos = new DataOutputStream(baos); // Write a valid string structure
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0)