Пример #1
0
 public Step read(DataInputX in) throws IOException {
   this.hash = (int) in.readDecimal();
   this.count = (int) in.readDecimal();
   this.elapsed = in.readDecimal();
   this.cputime = in.readDecimal();
   return this;
 }
Пример #2
0
  public Step read(DataInputX in) throws IOException {
    super.read(in);

    this.txid = in.readDecimal();
    this.hash = (int) in.readDecimal();
    this.elapsed = (int) in.readDecimal();
    this.cputime = (int) in.readDecimal();
    this.error = (int) in.readDecimal();
    this.opt = in.readByte();
    switch (opt) {
      case 1:
        this.address = in.readText();
        break;
      default:
    }
    return this;
  }