Package objot.util

Examples of objot.util.Bytes


    Constants cs = y.cons;
    y.head.setModifier(Mod2.PUBLIC | Mod2.SYNTHETIC);
    int classCi = cs.addClass(name);
    y.head.setSuperCi(cs.addClass(sup));

    Bytes n = cs.getUtf(cs.getClass(y.head.getClassCi()));
    for (int i = 1; i < cs.getConN(); i++)
      if (cs.getTag(i) == Constants.TAG_CLASS && cs.equalsUtf(cs.getClass(i), n))
        cs.setClass(i, cs.getClass(classCi));

    Field f = new Field(cs);
View Full Code Here


  }

  public Bytes getUtf(int ci)
  {
    getTag(ci, TAG_UTF);
    return new Bytes(bytes, getUtfBegin(ci), getUtfEnd1(ci));
  }
View Full Code Here

  // ********************************************************************************

  public int addUtf(Constants cons, int ci)
  {
    return addUtf(new Bytes(cons.bytes, cons.getUtfBegin(ci), cons.getUtfEnd1(ci)));
  }
View Full Code Here

    return addUtf(new Bytes(cons.bytes, cons.getUtfBegin(ci), cons.getUtfEnd1(ci)));
  }

  public int putUtf(Constants cons, int ci)
  {
    return putUtf(new Bytes(cons.bytes, cons.getUtfBegin(ci), cons.getUtfEnd1(ci)));
  }
View Full Code Here

TOP

Related Classes of objot.util.Bytes

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.