From: Karl Hasselström Date: Wed, 09 May 2007 10:43:32 GMT Subject: Re: [PATCH] Add a birdview-on-the-source-code section to the user manual Message-ID: <20070509104332.GA14214@diana.vm.bytemark.co.uk> In-Reply-To: On 2007-05-09 11:38:34 +0200, Johannes Schindelin wrote: > On Wed, 9 May 2007, Daniel Barkalow wrote: > > > It's kind of important to distinguish between the hex > > representation and the octet representation, because your code > > will not work at all if you use the wrong one. And "unsigned char > > *" or "unsigned char[20]" is always the octets; the hex is always > > "char *". Primarily mentioning the one that is more intuitive but > > less frequently used doesn't help with understanding the actual > > code. > > That's a really good idea, to point out that "unsigned char *" > refers to octets, while "char *" refers to the ASCII representation. > I will add this, together with a simple example (the initial > commit). That'll address my complaint nicely, I believe. It was the confusion between these two formats that I was trying to get at. -- Karl Hasselström, kha@treskal.com www.treskal.com/kalle