decode base64 buffers in place-ish