Package com.android.dx.io.instructions
Interface CodeInput
- All Superinterfaces:
CodeCursor
- All Known Implementing Classes:
ShortArrayCodeInput
Input stream of code units, for reading in Dalvik bytecode.
-
Method Summary
Methods inherited from interface com.android.dx.io.instructions.CodeCursor
baseAddressForCursor, cursor, setBaseAddress
-
Method Details
-
hasMore
boolean hasMore()Returns whether there are any more code units to read. This is analogous tohasNext()
on an interator. -
read
Reads a code unit.- Throws:
EOFException
-
readInt
Reads two code units, treating them as a little-endianint
.- Throws:
EOFException
-
readLong
Reads four code units, treating them as a little-endianlong
.- Throws:
EOFException
-