maxLength

maxLength(): Integer;

The maxLength method of the Binary primitive type returns the declared maximum length of a binary variable. If the binary variable maximum length has not been declared, the value of the Max_UnboundedLength global constant in the SystemLimits category is returned.