@Override
    final List<T> drainAll0(boolean withPooledObjects) {
        final int length = objs.length;
        final ImmutableList.Builder<T> builder = ImmutableList.builderWithExpectedSize(length);
        for (T obj : objs) {
            builder.add(touchOrCopyAndClose(obj, withPooledObjects));
        }
        return builder.build();
    }
Creates a new instance with the specified elements.
core/src/main/java/com/linecorp/armeria/internal/common/stream/RegularFixedStreamMessage.java