setIndex method

void setIndex(
  1. int i
)

Implementation

void setIndex(int i) {
  // A PvrtcPacket uses 2 uint32 values, so get the physical index
  // from the logical index by multiplying by 2.
  index = i << 1;
  // Pull in the values from the raw data.
  _update();
}