private static Publisher<HttpData> chunksPublisher(List<byte[]> data, AtomicLong totalCount) {
        final HttpData[] chunks = data.stream()
                                      .map(HttpData::copyOf)
                                      .toArray(HttpData[]::new);
        return Flux.just(chunks).doOnRequest(totalCount::addAndGet);
    }
Build a publisher of {@link HttpData} from a list of {@code byte[]}.
@param data data for the chunks to create
@return publisher
core/src/test/java/com/linecorp/armeria/common/multipart/MultipartDecoderTest.java