com.android.dx.util
Class ByteArray.MyInputStream
java.lang.Object
java.io.InputStream
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteArray.MyInputStream
public ByteArray.MyInputStream()
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.