customTypeOverflowCheck function

bool customTypeOverflowCheck(
  1. Root root
)

Checks if root contains enough custom types to require overflow codec tools.

Implementation

bool customTypeOverflowCheck(Root root) {
  return root.classes.length + root.enums.length >
      maximumCodecFieldKey - minimumCodecFieldKey;
}