Read & Write Encoded Integers
Posted: Wed Aug 27, 2008 11:46 pm
Hey All,
Encoded Integers (Described below) I believe would be a good addition to PureBasic, because it will add that little bit extra to it becoming on parr with the more commercialised programming languages.
Mike
Encoded Integers (Described below) I believe would be a good addition to PureBasic, because it will add that little bit extra to it becoming on parr with the more commercialised programming languages.
Thanks,Encoded Integers
An ENCINT is a variable-length integer. The high bit of each byte indicates "continued to the next byte". Bytes are stored most significant to least significant. So, for example, $EA $15 is (((0xEA&0x7F)<<7)|0x15) = 0x3515.
- "Microsoft's HTML Help (.chm) format" by Matthew T. Russotto
Mike