From: Simon Bell (simonbell_at_mac.com)
Date: Tue Apr 12 2005 - 02:03:59 PDT
On 11 Apr, 2005, at 3:40 pm, Scot McSweeney-Roberts wrote:
> What I'm curious about is those 16 bytes at the begining of the .nwt
> file (the .nwt file as sent from Mail V in an email attachment).
It=92s a signature and info about the data that follows. In C it=92s a:
struct {
char[8] preamble; // =3D "A54E57460D0A1A0A" in hex; starts =
"=95NWF" in=20
ASCII
long length; // of the data following this header
short checksum; // not used by SimpleMail / Mail V; =
always 0
short unused;
};
This header is used by EnRoute=92s inet, and SimpleMail/MailV generate =
it=20
only for compatibility, so you can mail packages between the two=20
transports. The data that follows is a NSOF flattened frame containing=20=
the message.
I hope this puts your mind at rest.
Simon=
-- This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries Official Newton FAQ: http://www.chuma.org/newton/faq/ WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/
This archive was generated by hypermail 2.1.5 : Tue Apr 12 2005 - 07:00:00 PDT