- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testReadChar (0.04 sec)
-
src/test/java/jcifs/pac/PacDataInputStreamTest.java
byte[] buffer = new byte[6]; pdis.readFully(buffer, 1, 4); assertArrayEquals(new byte[] { 0x00, 0x01, 0x02, 0x03, 0x04, 0x00 }, buffer); } @Test public void testReadChar() throws IOException { // 0x0041 is 'A' byte[] data = new byte[] { 0x00, 0x41, 0x00, 0x00 }; PacDataInputStream pdis = createInputStream(data); assertEquals('A', pdis.readChar()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0)