* @param series this is the part list used to accumulate the parts
* @param boundary this is the boundary used for the upload
* @param length this is the number of bytes the upload should be
*/
public PartSeriesConsumer(Allocator allocator, PartSeries series, byte[] boundary, long length) {
this.buffer = new BufferAllocator(allocator, length);
this.consumer = new PartEntryConsumer(buffer, series, boundary, length);
this.factory = new PartEntryFactory(buffer, series, boundary, length);
this.series = series;
}