I think I finished refactoring hte BinaryBuffer, I will write some tests to be sure. During that I wrote a test to compare the incidentally new  algorithm in hte Base64Decode function against the original. in debug the new is about 5% faster and in release it is between 35% and 41% faster. Too bad it is not on the critical path escept maybe inside loading screens