public class UnreliableRandomInputStream extends RandomInputStream
lengthInBytes, remainingBytes| Constructor and Description |
|---|
UnreliableRandomInputStream(long lengthInBytes)
Constructs a new unreliable random data input stream of the specified
number of bytes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
getBytesReadavailable, close, mark, markSupported, read, reset, skippublic UnreliableRandomInputStream(long lengthInBytes)
lengthInBytes - The number of bytes of data contained in the new stream.public int read()
throws IOException
read in class RandomInputStreamIOExceptioncom.ibm.cloud.objectstorage.util.RandomInputStream#read()public int read(byte[] b,
int off,
int len)
throws IOException
read in class RandomInputStreamIOExceptionCopyright © 2025. All rights reserved.