public class RandomInputStream extends InputStream
| Constructor and Description |
|---|
RandomInputStream(int maximumBlockSize,
long totalDataAmount,
boolean randomBlock) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
digest() |
int |
read() |
int |
read(byte[] buf,
int off,
int len) |
available, close, mark, markSupported, read, reset, skippublic RandomInputStream(int maximumBlockSize,
long totalDataAmount,
boolean randomBlock)
throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic int read(byte[] buf,
int off,
int len)
read in class InputStreampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic byte[] digest()
Copyright © 2025. All rights reserved.