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, skip
public RandomInputStream(int maximumBlockSize, long totalDataAmount, boolean randomBlock) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public int read(byte[] buf, int off, int len)
read
in class InputStream
public int read() throws IOException
read
in class InputStream
IOException
public byte[] digest()
Copyright © 2024. All rights reserved.