DecodeBase64: wrapper needs to 0-terminate buffer.