List of utility methods to do InputStream Split
Collection | split(InputStream input) split Collection<byte[]> files = new ArrayList<byte[]>(); try { byte[] data = new byte[input.available()]; int pos = 0; byte fileHdrSize; int fileDataSize; int fileSize; input.read(data); ... |