Package org.jboss.marshalling
Class InputStreamByteInput
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.jboss.marshalling.InputStreamByteInput
- All Implemented Interfaces:
Closeable,AutoCloseable,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.-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
InputStreamByteInput
Construct a new instance.- Parameters:
inputStream- the input stream to read from
-