Package com.android.dx.io.instructions
Interface CodeOutput
- All Superinterfaces:
CodeCursor
- All Known Implementing Classes:
ShortArrayCodeOutput
Output stream of code units, for writing out Dalvik bytecode.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(byte[] data) Writes the contents of the given array.void
write
(int[] data) Writes the contents of the given array.void
write
(long[] data) Writes the contents of the given array.void
write
(short codeUnit) Writes a code unit.void
write
(short[] data) Writes the contents of the given array.void
write
(short u0, short u1) Writes two code units.void
write
(short u0, short u1, short u2) Writes three code units.void
write
(short u0, short u1, short u2, short u3) Writes four code units.void
write
(short u0, short u1, short u2, short u3, short u4) Writes five code units.void
writeInt
(int value) Writes anint
, little-endian.void
writeLong
(long value) Writes along
, little-endian.Methods inherited from interface com.android.dx.io.instructions.CodeCursor
baseAddressForCursor, cursor, setBaseAddress
-
Method Details
-
write
void write(short codeUnit) Writes a code unit. -
write
void write(short u0, short u1) Writes two code units. -
write
void write(short u0, short u1, short u2) Writes three code units. -
write
void write(short u0, short u1, short u2, short u3) Writes four code units. -
write
void write(short u0, short u1, short u2, short u3, short u4) Writes five code units. -
writeInt
void writeInt(int value) Writes anint
, little-endian. -
writeLong
void writeLong(long value) Writes along
, little-endian. -
write
void write(byte[] data) Writes the contents of the given array. -
write
void write(short[] data) Writes the contents of the given array. -
write
void write(int[] data) Writes the contents of the given array. -
write
void write(long[] data) Writes the contents of the given array.
-