Pass correct buffer / length to base64 decode

git-svn-id: http://forge.voodooprojects.org/svn/chameleon@2164 b5af796a-00a8-11df-919b-ffff7a100b7d