Fleshed out and tested the based64 size prediction  functions and started making the binary buffer usable, it seems it will actually be important.