maxParticipantIdCodeUnits top-level constant

int const maxParticipantIdCodeUnits

Maximum accepted length of a participant label, in UTF-16 code units.

Matches the check performed on construction. Note the historical wording of the error message says "UTF-8 bytes" while the check counts UTF-16 code units; the check is what is authoritative.

Implementation

const int maxParticipantIdCodeUnits = 256;