public static int getEncodedSize(Object[] values) {int result = values.length * 1;for (Object value : values) {result += getEncodedSize(value);}return result;}

public static int getEncodedSize ( Object [ ] values ) { int result = values . length * 1 ; for ( Object value : values ) { result += getEncodedSize ( value ) ; } return result ; }
public static int GetEncodedSize(Array values){int result = values.Length * 1;for (int i = 0; i < values.Length; i++){result += GetEncodedSize(values.GetValue(i));}return result;}
