encode method

int encode()

Implementation

int encode() {
  assert(0 <= TNF && TNF <= 7);
  return (MB.toInt() << 7) |
      (ME.toInt() << 6) |
      (CF.toInt() << 5) |
      (SR.toInt() << 4) |
      (IL.toInt() << 3) |
      (TNF & 7);
}