| java.lang.Object | ||
| ↳ | java.io.InputStream | |
| ↳ | com.pnfsoftware.jeb.util.io.DummyInputStream | |
Dummy reader class: all read operations return 0, and the number of bytes being read is tracked.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DummyInputStream() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| long |
getTotalSize()
Get the number of bytes read.
| ||||||||||
| int | read() | ||||||||||
| int | read(byte[] b, int off, int len) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.io.InputStream
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
| |||||||||||
From interface
java.lang.AutoCloseable
| |||||||||||
Get the number of bytes read.
| IOException |
|---|
| IOException |
|---|