com.android.dx.io.instructions
Interface CodeOutput

All Superinterfaces:
CodeCursor
All Known Implementing Classes:
ShortArrayCodeOutput

public interface CodeOutput
extends CodeCursor

Output stream of code units, for writing out Dalvik bytecode.


Method Summary
 void 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 an int, little-endian.
 void writeLong(long value)
          Writes a long, little-endian.
 
Methods inherited from interface com.android.dx.io.instructions.CodeCursor
baseAddressForCursor, cursor, setBaseAddress
 

Method Detail

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 an int, little-endian.


writeLong

void writeLong(long value)
Writes a long, 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.



Copyright © 2015. All rights reserved.