infinint, libdar

Wesley Leggette <lists-+42/j/[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.general
Message-ID <1081721788.27723.7.camel@localhost>
In libdar, it's my impression that infinint's are dumped like this:

0x00 + bit pattern - header indicating how long the infinint is
byte fields - actual data in network byte order

I'm having a hard time trying to figure out how exactly the header is
formed.

As a school project, I'm working on implementing a dar library in java,
hence the above question.

Also, I'd like to be able to use individual parts of libdar (to compare
libdar output with what I write in java). Is it best to set up a
generic_file and then call various dump() functions, or is there an
easier way?



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.