appendModeInfo static method

void appendModeInfo(
  1. Mode mode,
  2. BitArray bits
)

Append mode info. On success, store the result in "bits".

Implementation

static void appendModeInfo(Mode mode, BitArray bits) {
  bits.appendBits(mode.bits, 4);
}