Closeable, AutoCloseablepublic class UnreliableRandomInputStream extends RandomInputStream
| Constructor | Description |
|---|---|
UnreliableRandomInputStream(long lengthInBytes) |
Constructs a new unreliable random data input stream of the specified
number of bytes.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
read() |
|
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, read, readAllBytes, readNBytes, reset, skip, transferToequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBytesReadpublic UnreliableRandomInputStream(long lengthInBytes)
lengthInBytes - The number of bytes of data contained in the new stream.public int read()
throws IOException
read in class RandomInputStreamIOExceptionRandomInputStream.read()public int read(byte[] b,
int off,
int len)
throws IOException
read in class RandomInputStreamIOExceptionCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.