protected void visitArray(int size) { Leb128Utils.writeUnsignedLeb128(out, size); }
protected void visitAnnotation(int typeIndex, int size) { Leb128Utils.writeUnsignedLeb128(out, adjustType(typeIndex)); Leb128Utils.writeUnsignedLeb128(out, size); }
/** {@inheritDoc} */ public int writeUleb128(int value) { if (stretchy) { ensureCapacity(cursor + 5); // pessimistic } int cursorBefore = cursor; Leb128Utils.writeUnsignedLeb128(this, value); return (cursor - cursorBefore); }
/** {@inheritDoc} */ public int writeUleb128(int value) { if (stretchy) { ensureCapacity(cursor + 5); // pessimistic } int cursorBefore = cursor; Leb128Utils.writeUnsignedLeb128(this, value); return (cursor - cursorBefore); }
/** {@inheritDoc} */ public int writeUleb128(int value) { if (stretchy) { ensureCapacity(cursor + 5); // pessimistic } int cursorBefore = cursor; Leb128Utils.writeUnsignedLeb128(this, value); return (cursor - cursorBefore); }
protected void visitAnnotationName(int index) { Leb128Utils.writeUnsignedLeb128(out, adjustString(index)); }
public void writeUleb128(int i) { try { Leb128Utils.writeUnsignedLeb128(this, i); ensureCapacity(0); } catch (ArrayIndexOutOfBoundsException e) { throw new DexException("Section limit " + limit + " exceeded by " + name); } }