Integer representation
Paul Crowley
paul at ciphergoth.org
Thu Jun 30 00:12:36 PDT 2005
meepbear * wrote:
> The spec needs altering in that case since currently it says "shortest"
> while it should be "shortest word-multiple".
I'm not sure I know what you're saying here - it has to be an integer
number of bytes, not of any other quantity. 3 is represented as 0x03 and
65535 as 0x00 0xFF 0xFF. The extra 0 byte is because the high bit of
the first byte must not be set if the number is to be interpreted as
positive.
--
__
\/ o\ Paul Crowley, paul at ciphergoth.org
/\__/ http://www.ciphergoth.org/
More information about the yadis
mailing list