Examples of ByteSerializer


Examples of net.sf.rej.util.ByteSerializer

  public int getWideSize(DecompilationContext dc) {
    return WIDE_SIZE;
  }

  public byte[] getWideData(DecompilationContext dc) {
    ByteSerializer ser = new ByteSerializer(true);
    ser.addByte(_wide.OPCODE);
    ser.addByte(OPCODE);
    ser.addShort(this.index);
    return ser.getBytes();
  }
View Full Code Here

Examples of net.sf.rej.util.ByteSerializer

    this.index = (int) ByteToolkit.getLong(data, 1, 1, true);
  }

  @Override
  public byte[] getData(DecompilationContext dc) {
    ByteSerializer ser = new ByteSerializer(true);
    ser.addByte(OPCODE);
    ser.addByte(this.index);

    return ser.getBytes();
  }
View Full Code Here

Examples of net.sf.rej.util.ByteSerializer

  public void setWideData(byte[] data, DecompilationContext dc) {
    this.index = (int) ByteToolkit.getLong(data, 2, 2, true);
  }

  public byte[] getWideData(DecompilationContext dc) {
    ByteSerializer ser = new ByteSerializer(true);
    ser.addByte(_wide.OPCODE);
    ser.addByte(OPCODE);
    ser.addShort(this.index);

    return ser.getBytes();
  }
View Full Code Here

Examples of org.apache.flink.api.common.typeutils.base.ByteSerializer

    return new ByteComparator(ascending);
  }

  @Override
  protected TypeSerializer<Byte> createSerializer() {
    return new ByteSerializer();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.