I'm using a SequenceInputStream to read multiple files and merge them together into one file. This is way slow. I'm guessing due to buffering. How do I properly buffer with a SequenceInputStream. My code is below. Note that I'm buffering output, but not input. I tried using s.read(byte b, int off, int len) but my output was wacked, I apparantly did not use it properly.
FileOutputStream out = new FileOutputStream(strMergedFilePathAndName); BufferedOutputStream dest = new BufferedOutputStream(out, m_intBufferSize);