docs: public static <E, T extends Collection<E>> T unmarshallCollection(ObjectInput in, CollectionBuilder<E, T> builder, ElementReader<E> reader) throws IOException, ClassNotFoundException {
        final int size = unmarshallSize(in);
        if (size == NULL_VALUE) {
           return null;
        }
        T collection = Objects.requireNonNull(builder, "CollectionBuilder must be non-null").build(size);
        for (int i = 0; i < size; ++i) {
           //noinspection unchecked
           collection.add(reader.readFrom(in));
        }
        return collection;
     }