680e493065
looks like 1024 buffer size is not enough in all situations, use 8192 instead which can satisfy all the rare situations that may arise in base64 decoding.