Closeable
, AutoCloseable
, ByteInput
public class InputStreamByteInput extends FilterInputStream implements ByteInput
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
.in
Constructor | Description |
---|---|
InputStreamByteInput(InputStream inputStream) |
Construct a new instance.
|
available, close, mark, markSupported, read, read, read, reset, skip
readAllBytes, readNBytes, transferTo
public InputStreamByteInput(InputStream inputStream)
inputStream
- the input stream to read fromCopyright © 2018 JBoss by Red Hat. All rights reserved.