Honoring Asian Pacific American Heritage Month. See how.

validateEncoded method

void validateEncoded (int encoded)

Implementation

void validateEncoded(int encoded) {
  if (encoded != kAllocAbsent && encoded != kAllocPresent) {
    throw FidlError('Invalid pointer encoding: $encoded.');
  }
}