- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SocketInputStream (1.16 sec)
-
src/main/java/jcifs/smb1/netbios/SocketInputStream.java
package jcifs.smb1.netbios; import java.io.IOException; import java.io.InputStream; class SocketInputStream extends InputStream { private static final int TMP_BUFFER_SIZE = 256; private final InputStream in; private SessionServicePacket ssp; private int bip, n; private final byte[] header, tmp; SocketInputStream(final InputStream in) { this.in = in; header = new byte[4];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
byte[] data = new byte[] { 1, 2, 3 }; byte[] fullData = concat(messageHeader(3), data); InputStream in = new ByteArrayInputStream(fullData); SocketInputStream sis = new SocketInputStream(in); // Read the three data bytes assertEquals(1, sis.read()); assertEquals(2, sis.read()); assertEquals(3, sis.read());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
*/ public NbtAddress getNbtAddress() { return address; } @Override public InputStream getInputStream() throws IOException { return new SocketInputStream(super.getInputStream()); } @Override public OutputStream getOutputStream() throws IOException { return new SocketOutputStream(super.getOutputStream()); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0)