@Override
    public int sizeOf(Object o) {
        int size = 4;
        if (o == null)
            return size;

        Object[] objs = (Object[]) o;
        for (Object obj : objs)
            size += type.sizeOf(obj);
        return size;
    }
Represents a type for an array of a particular type
clients/src/main/java/org/apache/kafka/common/protocol/types/ArrayOf.java