Class ShortArrayCodeInput
java.lang.Object
com.android.dx.io.instructions.BaseCodeCursor
com.android.dx.io.instructions.ShortArrayCodeInput
- All Implemented Interfaces:
CodeCursor, CodeInput
Implementation of
CodeInput that reads from a short[].-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class BaseCodeCursor
advance, baseAddressForCursor, cursor, setBaseAddressMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CodeCursor
baseAddressForCursor, cursor, setBaseAddress
-
Constructor Details
-
ShortArrayCodeInput
public ShortArrayCodeInput(short[] array) Constructs an instance.
-
-
Method Details
-
hasMore
-
read
Reads a code unit.- Specified by:
readin interfaceCodeInput- Throws:
EOFException
-
readInt
Reads two code units, treating them as a little-endianint.- Specified by:
readIntin interfaceCodeInput- Throws:
EOFException
-
readLong
Reads four code units, treating them as a little-endianlong.- Specified by:
readLongin interfaceCodeInput- Throws:
EOFException
-