public class NullInputStream extends MockInputStream
closed| Constructor and Description |
|---|
NullInputStream()
Produces an immense amount of zeros
|
NullInputStream(int l)
This input stream produces a given number of zeros.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillArray(byte[] data,
int offset,
int l) |
protected int |
oneByte() |
mark, markSupported, read, resetpublic NullInputStream(int l)
l - How long this input stream will bepublic NullInputStream()
protected int oneByte()
oneByte in class MockInputStreamprotected void fillArray(byte[] data,
int offset,
int l)
fillArray in class MockInputStreamMMBase 1.9-SNAPSHOT - ${javadoctimestamp}