// of resizing and GC. The BAAOutputStream
// keeps the data in non-contiguous byte buffers.
BAAOutputStream baaos = new BAAOutputStream();
BufferUtils.inputStream2OutputStream(dross, baaos);
BufferUtils.inputStream2OutputStream(in, baaos);
return new PartOnMemoryEnhanced(headers, baaos.buffers(), baaos.length());
} else {
// We need to read the input stream to determine whether
// the size is bigger or smaller than the threshhold.
BAAOutputStream baaos = new BAAOutputStream();
int t1 = BufferUtils.inputStream2OutputStream(dross, baaos, threshholdSize);