Closed Leward closed 7 years ago
Thanks for writing this up! It's almost completely correct - the first digit is a version number, in case I ever have to change the encoding method in the future - that way I can remain backwards compatible simply by checking the version number.
This has made me realize I should probably do a pass to document and comment my code in general. Great work here - it's very easy to read.
I'll be merging this once I can make the "version number" tweak.
I added some details explaining what you just said about the version number.
I went through the code and the encoding part was a bit hard to figure out how it worked. I wrote some comments to help me out, I think they may be helpful to anyone who goes through this file.