Class ChunkFactory

  • public final class ChunkFactory
    extends Object
    Factor class to create the appropriate chunks, which needs the version of the file to process the chunk header and trailer areas. Makes use of chunks_parse_cmds.tbl from vsdump to be able to process the chunk value area
    • Method Detail

      • getVersion

        public int getVersion()
      • createChunk

        public Chunk createChunk​(byte[] data,
                                 int offset)
        Creates the appropriate chunk at the given location.
        data - the chunk bytes
        offset - the offset into the chunk bytes array to start reading from
        the new Chunk