public class ReadableByteArrayOutputStream extends ByteArrayOutputStream
ByteArrayOutputStream
that allows the creation of an
InputStream
from its internal byte array representation.buf, count
Constructor and Description |
---|
ReadableByteArrayOutputStream() |
Modifier and Type | Method and Description |
---|---|
InputStream |
inputStream()
Returns an
InputStream from this stream's internal byte array
representation. |
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
flush, write
public InputStream inputStream()
InputStream
from this stream's internal byte array
representation.ByteArrayOutputStream.toByteArray()
Copyright © 2018 Open eHealth Foundation. All rights reserved.