Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Working on Base-85 Encoder/Decoder Functions
#9
It's an extra 0 at the end from padding sometimes.  I've corrected it already in the version under my name in Prolific Programmers.  

Think of it as the following 14 bites (two 7-bit "words"):

1111111 1000000....

Now, you can see where we'd make two 8-bit characters with those:

11111111 000000..

It's extra padding left over, giving us a stray 0 at the end, which I didn't notice and ignore in my math above.  Wink
Reply


Messages In This Thread
RE: Working on Base-85 Encoder/Decoder Functions - by SMcNeill - 09-23-2023, 02:44 PM



Users browsing this thread: 1 Guest(s)