static final class WalkRemoteObjectDatabase.FileStream
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) java.io.InputStream |
in |
(package private) long |
length |
| Constructor and Description |
|---|
FileStream(java.io.InputStream i)
Create a new stream of unknown length.
|
FileStream(java.io.InputStream i,
long n)
Create a new stream of known length.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) byte[] |
toArray() |
FileStream(java.io.InputStream i)
i - stream containing the file data. This stream will be
closed by the caller when reading is complete.FileStream(java.io.InputStream i,
long n)
i - stream containing the file data. This stream will be
closed by the caller when reading is complete.n - total number of bytes available for reading through
i.