Google is committed to advancing racial equity for Black communities. See how.

validateEncoded method

void validateEncoded (int encoded)

Implementation

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