Package io.deephaven.util.channel
Class Channels
java.lang.Object
io.deephaven.util.channel.Channels
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputStream
newInputStreamNoClose
(ReadableByteChannel channel) Constructs a stream that reads bytes from the givenchannel
.
-
Constructor Details
-
Channels
public Channels()
-
-
Method Details
-
newInputStreamNoClose
Constructs a stream that reads bytes from the givenchannel
. Closing the resulting input stream does not close thechannel
.- Parameters:
channel
- the channel from which bytes will be read- Returns:
- the new input stream
-