Re: [PATCH] Add a birdview-on-the-source-code section to the user manual
- From
Karl Hasselström <kha@treskal.com>
- Date
- May 9, 2007, 10:43 UTC
- Message-ID
- <20070509104332.GA14214@diana.vm.bytemark.co.uk>
- In-Reply-To
- <Pine.LNX.4.64.0705091137190.4167@racer.site>
On 2007-05-09 11:38:34 +0200, Johannes Schindelin wrote:
Show 14 quoted lines
> 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