public class

DummyInputStream

extends InputStream
java.lang.Object
   ↳ java.io.InputStream
     ↳ com.pnfsoftware.jeb.util.io.DummyInputStream

Class Overview

Dummy reader class: all read operations return 0, and the number of bytes being read is tracked.

Summary

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

Public Constructors

public DummyInputStream ()

Public Methods

public long getTotalSize ()

Get the number of bytes read.

public int read ()

Throws
IOException

public int read (byte[] b, int off, int len)

Throws
IOException