- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testReadChar (0.06 seconds)
-
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()); }
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)