final public class NewByteArrayInputStream extends InputStream(Code)
An InputStream that is like java.io.ByteArrayInputStream but supports
a close() call that causes all methods to throw an IOException.
Java's ByteInputStream has a close() method that does not do anything.