length

length(): Integer;

The length method of the Binary primitive type returns the actual length of the value that has been assigned to an embedded Binary property; for example, if you declared a Binary property with length of 30 but the value stored is of length 20, the length method returns 20.