Class Channels

java.lang.Object
io.deephaven.util.channel.Channels

public final class Channels extends Object
  • Constructor Details

    • Channels

      public Channels()
  • Method Details

    • newInputStreamNoClose

      public static InputStream newInputStreamNoClose(ReadableByteChannel channel)
      Constructs a stream that reads bytes from the given channel. Closing the resulting input stream does not close the channel.
      Parameters:
      channel - the channel from which bytes will be read
      Returns:
      the new input stream