Class InputStreamByteInput

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.jboss.marshalling.InputStreamByteInput
All Implemented Interfaces:
Closeable, AutoCloseable, ByteInput

public class InputStreamByteInput extends FilterInputStream implements ByteInput
An InputStream implementing ByteInput which reads input from another InputStream. Usually the Marshalling.createInputStream(ByteInput) method should be used to create instances because it can detect when the target already extends InputStream.
  • Constructor Details

    • InputStreamByteInput

      public InputStreamByteInput(InputStream inputStream)
      Construct a new instance.
      Parameters:
      inputStream - the input stream to read from