- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for readZeroLengthArrayReturnsZero (0.1 sec)
-
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
assertThrows(IOException.class, () -> sis.read()); } @Test @DisplayName("Reading with zero-length array returns 0") void readZeroLengthArrayReturnsZero() throws IOException { // Create stream with a message containing data byte[] data = new byte[] { 1, 2 }; InputStream in = new ByteArrayInputStream(concat(messageHeader(2), data));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0)