[2807] in java-interest
Netscape .car file format?
daemon@ATHENA.MIT.EDU (Douglas Barnes)
Mon Oct 16 03:03:37 1995
Date: Sun, 15 Oct 1995 22:16:38 -0800
To: java-interest@java.Eng.Sun.COM
From: cman@communities.com (Douglas Barnes)
I've figured out most of the .car file format, but thought
before I wrote my own car/uncar tool that I'd find out if
anyone has already done this, or has looked at the format
more closely than I have.
Also, I'm looking at the Unix version, does the Win32 version
have an equivalent .CAR file? (I looked at readme.txt, but
unlike the Unix version it made no mention of this file.)
Here's what a quick look shows about the format:
Initial header:
First four bytes are a magic #: 0xbebacaff
Second four bytes are version?: 0x00000002
Next four bytes are #of files : 0x00000130
Next four bytes, size of index: 0x000041bb
Index entry:
First four bytes ?? always either: 0x000000bc or 0x000000bd;
no idea why.
Next four bytes ?? (freqently first byte is 0xf3 or 0xf9)
Next four bytes ?? (always 0x00000000)
Next four bytes, byte offset of class in .car file
Next four bytes ?? (always 0x00000000)
Next four bytes, size in bytes of class
Null-terminated string, name of class
After the index, casual inspection indicates that the
classes are simply contcatenated together.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com