calculates and returns the size needed to encode the length of the array passed.
An array that will be encoded
See Implementation
calculates and returns the size needed to encode the length of the array passed.