|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.io.instructions.BaseCodeCursor
com.android.dx.io.instructions.ShortArrayCodeOutput
public final class ShortArrayCodeOutput
Implementation of CodeOutput that writes to a short[].
| Constructor Summary | |
|---|---|
ShortArrayCodeOutput(int maxSize)
Constructs an instance. |
|
| Method Summary | |
|---|---|
short[] |
getArray()
Gets the array. |
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 class com.android.dx.io.instructions.BaseCodeCursor |
|---|
advance, baseAddressForCursor, cursor, setBaseAddress |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.android.dx.io.instructions.CodeCursor |
|---|
baseAddressForCursor, cursor, setBaseAddress |
| Constructor Detail |
|---|
public ShortArrayCodeOutput(int maxSize)
maxSize - the maximum number of code units that will be written| Method Detail |
|---|
public short[] getArray()
public void write(short codeUnit)
CodeOutput
write in interface CodeOutput
public void write(short u0,
short u1)
CodeOutput
write in interface CodeOutput
public void write(short u0,
short u1,
short u2)
CodeOutput
write in interface CodeOutput
public void write(short u0,
short u1,
short u2,
short u3)
CodeOutput
write in interface CodeOutput
public void write(short u0,
short u1,
short u2,
short u3,
short u4)
CodeOutput
write in interface CodeOutputpublic void writeInt(int value)
CodeOutputint, little-endian.
writeInt in interface CodeOutputpublic void writeLong(long value)
CodeOutputlong, little-endian.
writeLong in interface CodeOutputpublic void write(byte[] data)
CodeOutput
write in interface CodeOutputpublic void write(short[] data)
CodeOutput
write in interface CodeOutputpublic void write(int[] data)
CodeOutput
write in interface CodeOutputpublic void write(long[] data)
CodeOutput
write in interface CodeOutput
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||