Fixed some overflow bugs on my base64 decode and binarybuffer tostring method