com.android.dx.util
Class ByteArray.MyInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.android.dx.util.ByteArray.MyInputStream
All Implemented Interfaces:
Closeable
Enclosing class:
ByteArray

public class ByteArray.MyInputStream
extends InputStream

Helper class for ByteArray.makeInputStream(), which implements the stream functionality.


Constructor Summary
ByteArray.MyInputStream()
           
 
Method Summary
 int available()
           
 void mark(int reserve)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] arr, int offset, int length)
           
 void reset()
           
 
Methods inherited from class java.io.InputStream
close, read, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArray.MyInputStream

public ByteArray.MyInputStream()
Method Detail

read

public int read()
         throws IOException
Specified by:
read in class InputStream
Throws:
IOException

read

public int read(byte[] arr,
                int offset,
                int length)
Overrides:
read in class InputStream

available

public int available()
Overrides:
available in class InputStream

mark

public void mark(int reserve)
Overrides:
mark in class InputStream

reset

public void reset()
Overrides:
reset in class InputStream

markSupported

public boolean markSupported()
Overrides:
markSupported in class InputStream


Copyright © 2013. All Rights Reserved.