static <T extends Type> String encodeArrayValues(Array<T> value) {
        StringBuilder result = new StringBuilder();
        for (Type type : value.getValue()) {
            result.append(encode(type));
        }
        return result.toString();
    }
@Test
    public void testFixedArray() {
        StaticArray<Ufixed> array =
                new StaticArray2<>(
                        Ufixed.class,
                        new Ufixed(BigInteger.valueOf(0x2), BigInteger.valueOf(0x2)),
                        new Ufixed(BigInteger.valueOf(0x8), BigInteger.valueOf(0x8)));

        assertEquals(
                TypeEncoder.encodeArrayValues(array),
                ("0000000000000000000000000000000220000000000000000000000000000000"
                        + "0000000000000000000000000000000880000000000000000000000000000000"));
    }