private void readChunkHeader(InputStream stream,ResChunk_Header nextChunkHeader) throws IOException {
  byte[] header=new byte[8];
  stream.read(header);
  readChunkHeader(nextChunkHeader,header,0);
}

private void readChunkHeader ( InputStream stream , ResChunk_Header nextChunkHeader ) throws IOException { byte [ ] header = new byte [ 8 ] ; stream . read ( header ) ; readChunkHeader ( nextChunkHeader , header , 0 ) ; }
reads a chunk header from the input stream and stores the data in the given object .
