BsDiPa

 view release on metacpan or  search on metacpan

c-lib/s-bsdipa-lib.h  view on Meta::CPAN

 *@   that identical bytes are stored as NUL.
 *@ -- The s-bsdipa-io.h header is a readily available I/O layer.
 *@    NOTE: I/O layers may impose further size limit restrictions!
 *@ - Internally diff- and extra data share heap to reduce memory overhead.
 *@ -- As a result diff data is stored in reverse order, last byte first.
 *@ - Memory allocation is solely done via user provided allocator.
 *@ - The header includes the extra data length, so that all information
 *@   is available through it.
 *@ - "Data-less" control blocks cannot occur (but for the first):
 *@   BSDiff may generate control blocks which contain no data, but only seek.
 *@   Such fragments are instead collapsed to the former control block,
 *@   tightening testable constraints on the header and control chunks.
 *@
 *@ Informational: original bsdiff file format:
 *@	0	8	"BSDIFF40"
 *@	8	8	X
 *@	16	8	Y
 *@	24	8	sizeof(result[file])
 *@	32	X	bzip2(control block)
 *@	32+X	Y	bzip2(diff block)
 *@	32+X+Y	???	bzip2(extra block)



( run in 1.540 second using v1.01-cache-2.11-cpan-b16cb0d3907 )